Advertisement

04.24.2008 at 02:08PM PDT, ID: 23351973
[x]
Attachment Details

Set PATH for Java

Asked by R7AF in Linux, Xandros Linux, New to Java Programming

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
 
Loading Advertisement...
 
[+][-]04.24.2008 at 02:18PM PDT, ID: 21435232

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.24.2008 at 06:48PM PDT, ID: 21436564

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.27.2008 at 12:06PM PDT, ID: 21450044

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.28.2008 at 06:34AM PDT, ID: 21453775

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Linux, Xandros Linux, New to Java Programming
Sign Up Now!
Solution Provided By: kosarajudeepak
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628