Re: Need Help on JAVA_HOME, CLASSPATH set up
euhm.. is my case:
which java
/usr/bin/java
ls -l /usr/bin/java
/usr/bin/java -> /etc/alternatives/java
ls -l /etc/alternatives/java
/etc/alternatives/java -> /usr/lib/jvm/java-gcj/jre/bin/java
Changed that to:
java -> /usr/lib/jvm/java-6-sun-1.6.0.06/jre/bin/java
then I added the following line to /etv/environment:
JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.06/"
and created the following symlink:
/usr/java/jdk -> /usr/lib/jvm/java-6-sun-1.6.0.06/
although I have both... java is sooooo confusing!!
Last edited by bwakkie; June 30th, 2008 at 02:54 PM.
HW: Intel Core 2 CPU T7400 @ 1.66GHz, Dell Latitude D620, Intel Mobile 945GM/PM/GMS 943/940GML Express IGP + ICH7-M, 2014MB, 160GB, 1280x800 -- OS: Gentoo 2004-2010 & Ubuntu 7.4-10.10