Got it - thanks!
The next question is how to make ant (via Eclipse) use that version. Everytime I compile, it still uses 1.6.0.06, which is the original version installed on my system.
/usr/bin/java is changed:
Code:
[501:laura@alderaan ~]$ java -version
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Server VM (build 1.5.0_10-b03, mixed mode)
[502:laura@alderaan ~]$ ll /usr/bin/java
lrwxrwxrwx 1 root root 22 2008-02-03 07:20 /usr/bin/java -> /etc/alternatives/java
[503:laura@alderaan ~]$ ll /etc/alternatives/java
lrwxrwxrwx 1 root root 42 2008-06-16 09:21 /etc/alternatives/java -> /home/laura/downloads/jdk1.5.0_10/bin/java
[504:laura@alderaan ~]$
Eclipse is set to use 1.5 compatibility and is started via
Code:
/home/laura/eclipse/eclipse -vm /home/laura/downloads/jdk1.5.0_10/jre/bin/javaw.exe
but there doesn't seem to be anywhere to set a specific java path. Screenshot of the persistent problem is
here for clarification.
Thanks to anyone who can give a hint!