How to set Java 5.0 as default in terminal

  • Topic: Java 
  • Thread starter Thread starter hytechpro
  • Start date Start date
  • Tags Tags
    Java
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
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