Link to home
Start Free TrialLog in
Avatar of juraj
juraj

asked on

Setting up Java

When I type in "java" in the terminal window it uses the built in gjc interpreter.  I've installed the latest Sun SDK and put in in my PATH as well.  However, the java command is still intercepted by gjc.  How do I set up my system so it will run the SUN java executable instead of the gjc when I type "java" or "javac"?
Avatar of AgelmarJagad
AgelmarJagad

What is probably happening is gjc is earlier in your path than SUN's java.  One way you could get SUN's java to come first is to find the symbolic link "java" that points to gjc and delete it.  
ASKER CERTIFIED SOLUTION
Avatar of willy134
willy134

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial