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
You cannot comment on this entry