Difference between revisions of "HPC:Java"
From HPC wiki
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | OpenJDK 1.6.0 and 1. | + | 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 |
<pre> | <pre> | ||
− | 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) | ||
+ | </pre> | ||
+ | |||
+ | <pre> | ||
+ | [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) | ||
</pre> | </pre> | ||
=== Other Pages === | === Other Pages === | ||
+ | ---- | ||
+ | <div class="mw-collapsible mw-collapsed"> | ||
+ | *[[HPC:FAQ|HPC FAQ ]] | ||
+ | *[[HPC:Login|Connecting to the PMACS cluster]] | ||
+ | *[[HPC:User_Guide|User Guide]] | ||
*[[HPC:Software|Available Software]] | *[[HPC:Software|Available Software]] | ||
− | *[[HPC: | + | *[[HPC:Archive System|PMACS Archive System]] |
− | + | </div> | |
− |
Latest revision as of 15:43, 13 August 2019
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)