I recently switched to Linux (I now use Kubuntu Edgy Eft) and I must say I very pleased. I even start getting the hang of the command line tools.
I installed multiple Java Runtime Environments (using Adept), like Blackdown JRE and later the official JDK 1.5 from Sun. The problem now is that het commands "java" and "javac" are associated with the Blackdown compiler, not with Sun's. So I have to type in the full path to the compiler each time:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/bin/javac and /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/bin/java
How can I register Sun's JDK so that I only have to type "java" (or "javac") to use it?
I installed multiple Java Runtime Environments (using Adept), like Blackdown JRE and later the official JDK 1.5 from Sun. The problem now is that het commands "java" and "javac" are associated with the Blackdown compiler, not with Sun's. So I have to type in the full path to the compiler each time:
/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/bin/javac and /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/bin/java
How can I register Sun's JDK so that I only have to type "java" (or "javac") to use it?
Comment