Get your own customer support community
 

Picking your java version on openlab

Support tells me that you can pick which jvm you want to run by loading the appropriate java module.

The following commands show how to do this:

> module avail java

--------- /opt/Modules/2.0/modulefiles ---------
Versions of 'java' from '/opt/Modules/2.0/modulefiles':

1.4.2 1.5.0 1.6.0-b105 1.6.0_11

--------- /opt/contrib/modulefiles ---------

[518]djp3@mothra: ~
> module load java/1.6.0-b105

519]djp3@mothra: ~
> java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)
 
happy I’m better late than never
Inappropriate?
1 person likes this idea

User_default_medium