Skip to content
Advertisement

Install java 8 and 7 RE in linux Ubuntu

I already have installed in my linux Ubuntu the java 8 (Update 121), but I need to install the java 7 RE for a specific software that I need to use. I want the java 7 only to use with this tool, and I do not want to make any modification on my default java 8. How to do that? Can I install java 7 with no issue for my 8?

JavaScript

Advertisement

Answer

You do not need to install Java 7. You can download java 7 zip package and unzip it to a location. Create an environment variable/ Sdk Config in your tool pointing to the java 7. I am not sure which tool you are referring to !

Eg : In intellij you can create a new sdk and point it to your java 7 jdk location and use it. In eclipse you can create a Java 7 sdk environment from java build path and use it.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement