Multiple JDK / JRE

3

Can I have multiple JDK / JRE installations? because I have two different softwares being one that depends exclusively on the 32bit version (aptana studio 3) and I am already using the 64bit version in eclipse.

    
asked by anonymous 27.03.2015 / 13:24

3 answers

3

Second this guide is possible.

The page also mentions:

  

Several versions of the JRE can run in different browser sessions. However, multiple versions can not be run in the same browser session.

To open the Java control panel for a specific version, go to the C:\Program Files\Java\jre<versão>\bin\ directory and run the javacpl.exe file.     

27.03.2015 / 14:07
3

You may have multiple versions of Java installed, but the software does not always find the correct version.

Most will try to find Java based on the path environment variable on your system which usually uses the JAVA_HOME variable. Therefore, preferably configure your variables for the most recent installation you have.

Then, specifically configure each program to use the most appropriate Java version.

Eclipse, for example, is initialized by the native executable eclipse.exe . It will try to get the default Java by PATH , but you can also edit the eclipse.ini file to set the JDK path as described in official documentation . Another alternative to Eclipse is to put the JDK in a subdirectory of the eclipse folder named jdk , for example

c:\eclipse\jdk

Eclipse-based IDEs are likely to have the same configuration.

    
27.03.2015 / 17:39
2

Yes you can. Just install the two he will get the corresponding one that works with it.

    
27.03.2015 / 13:29