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)
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)
1
person likes this idea
I like this idea!
Tell me when this idea gets some attention.
The more people who like this idea, the more it gets noticed.
The more people who like this idea, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?What exactly is the error or problem? There's no output or detail of what you are trying to perform. From what I can assume, it looks like you're trying to copy/paste someone's instructions without really reading the process.
I see that the instructions are performed on mothra, which is a different platform than the family-guy. The module version the instruction included is only available on mothra, which I assume you are trying to load on the family-guy.
Please always run:
% module avail java
Then select which version that is available on that platform:
% module load java/<version>
Don't assume that the same version always exists between different platforms.
--
James H. Nguyen
Systems Administrator
BSICS Computing Support Group
1.949.824.1905
helpdesk@ics.uci.edu
Announcements: https://support.ics.uci.edu/ics.system/
Announcements Feed: http://support.ics.uci.edu/ics.system...</version>
Loading Profile...


EMPLOYEE
