I have just bought an ASUS EEE PC, and am setting up Java, JDK etc, but have problems setting the path correctly. With the standard Xandros distribution, Java 1.5 is installed. I have installed Java 1.6, but now the paths get mixed up.
> java -version => returns 1.5
> javac -version => returns 1.6
This probably happens because the PATH has 1.5 in /usr/bin and 1.6 is added at the end of the path.
What is the best way to fix this? Where can I find the file that holds the PATH string?
Start Free Trial