For some reason Eclipse 3.4.2 I installed is always picking up the 1.6 JDK and bombing out even though I have 1.4.2 installed. How do I make Eclipse point to the 1.4.2 version I have? I see there is an eclipse.conf file and perhaps that’s where I make the setting? And which setting should I put there?
-----BEGIN PGP SIGNED MESSAGE-----
Not sure about the right way, but since I have multiple installs of
Eclipse (for different purposes) I have an init script for each in my
~/bin directory (named something appropriate so when I Alt+F2 they
auto-complete in an intuitive way for me) and those scripts look like the
On 04/21/2011 08:06 PM, imterpsfan2 wrote:
> For some reason Eclipse 3.4.2 I installed is always picking up the 1.6
> JDK and bombing out even though I have 1.4.2 installed. How do I make
> Eclipse point to the 1.4.2 version I have? I see there is an
> eclipse.conf file and perhaps that’s where I make the setting? And which
> setting should I put there?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
I found there’s a vm switch in the eclipse.config that might work. Otherwise, I’ll try your solution.
Use the update-alternatives subsystem.
I used the -vm switch in the /usr/share/eclipse/eclipse.ini file to point to the correct jre that I wanted. This seems to work for me. Thanks for the other suggestions. I’ll keep these in mind.
I’m going through an old java book that’s using an old jdk, jre.