How to set Java 5.0 as default in terminal

  • Context: Java 
  • Thread starter Thread starter hytechpro
  • Start date Start date
  • Tags Tags
    Java
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
hytechpro
Messages
2
Reaction score
0
Hi,

I just updated to 5.0 and changed the java version from the java preferences as instructed in the installation instructions. However, from the terminal if I type java -version it shows that the 1.4 is still the default. Can someone tell me how to set 5.0 as the default from the terminal.

Thanks:
http://www.hytechpro.om"
 
Last edited by a moderator:
Physics news on Phys.org
hai,

You can install the jdk1.5.0_04 from the google.com.And run the Setup.
But mainly no difference each other.

Thank:
www.handshakeit.com