HPC:Java

From HPC wiki
Revision as of 15:43, 13 August 2019 by Obki (talk | contribs) (→‎Other Pages)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

OpenJDK 1.6.0, 1.7.0 and 1.8.0 have been installed on all nodes. The default is 1.6.0. If you want to set 1.7.0 or 1.8.0 as the default version of java, use either the `java-sdk-1.7.0` or `java-sdk-1.8.0` environment module

[asrini@node077 ~]$ module load java-sdk-1.7.0

[asrini@node077 ~]$ java -version
java version "1.7.0_71"
OpenJDK Runtime Environment (rhel-2.5.3.1.el6-x86_64 u71-b14)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
[asrini@node077 ~]$ module load java-sdk-1.8.0

[asrini@node077 ~]$ java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b11)


Other Pages