Software

ID #1033

How can I change the default version of java for my account?

We usually have more than one version of java installed on the lab machines to meet the needs of students. You can find them in the '/usr/java' directory. Edit your PATH to include the bin directory of the version you want.

[don@lisa ~]$ echo $PATH
/usr/java/jdk1.5.0_02/bin:/bin:/usr/bin:/sbin
[don@lisa ~]$ which java
/usr/java/jdk1.5.0_02/bin/java
[don@lisa ~]$ java -version
java version '1.5.0_02'
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)

Tags: -

Related entries:

Last update: 2006-04-11 10:14
Author: Don Voita
Revision: 1.0

Digg it! Print this record Send to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this entry:

Average rating: 1 out of 5 (1 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry