Difference between revisions of "HPC:Java"

From HPC wiki
m (Asrini moved page PMHPC:Java to HPC:Java)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
OpenJDK 1.6.0 and 1.7.0 have been installed on all nodes. The default is 1.6.0. If you want to set 1.7.0 as the default version of java, use the `java-sdk-1.7.0` environment module
+
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 add java-sdk-1.7.0
+
[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>
 +
 +
<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>
 +
 +
 +
=== 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: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)


Other Pages