Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing default java

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi
I'v downloaded the latest java sdk and the add-ons.
I'v installed the sdk in /usr
I need to find out how to switch the global java from /usr/java to /usr/jsdk1.4

THanks
 
The default java is a link from /usr/bin/java to /usr/java/bin/java. All other java binaries are linked that way (javac, rmic....etc). Do a ls -al /usr/bin|grep java.

you would just need to make new links from /usr/bin/java to /usr/jsdk1.4/bin/java
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top