From Documentation
Jump to: navigation, search
Line 4: Line 4:
 
|package_idnumber=66
 
|package_idnumber=66
 
}}
 
}}
 +
<u>PROVIDED BINARIES</u> (version 1.6.0_22)
  
<u>PATH INITIALIZATION</U><BR>
+
<pre>
 +
[roberpj@gul2:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin] ls
 +
java  keytool  orbd  pack200  policytool  rmid  rmiregistry  servertool  tnameserv  unpack200
 +
</pre>
  
The binaries for this package are not included in your default path. Therefore its necessary to add the path manually using one of the following commands depending on your shell:
+
<u>PROVIDED BINARIES</u> (version 1.6.0_13)
 +
 
 +
<pre>
 +
[roberpj@bul125:/opt/sharcnet/jdk/current/bin] ls jav*
 +
java  javac  javadoc  javah  javap  javaws
  
 
<b>Bash Shell Users: </b> export PATH=/opt/sharcnet/jdk/current/bin:$PATH
 
<b>Bash Shell Users: </b> export PATH=/opt/sharcnet/jdk/current/bin:$PATH
 
 
<b>Csh Users: </b> set path = (/opt/sharcnet/jdk/current/bin $path)
 
<b>Csh Users: </b> set path = (/opt/sharcnet/jdk/current/bin $path)
 +
</pre>
  
 +
<u>MEMORY ALLOCATION ON ORCA LOGIN NODE</u>
  
<u>PROVIDED BINARIES</u>
+
Java and javac will crash immediately when run interactively on orcas login nodes unless a command line argument with format XmxNNNN (where NNNN specifies the requested memory allocation pool) is specified. The value should be chosen less then the 1GB hard memory limit of the login node. For instance 512mb would be acceptable as shown here:
 
+
  [roberpj@bul125:/opt/sharcnet/jdk/current/bin] ls jav*
+
java  javac  javadoc  javah  javap  javaws
+
 
+
 
+
<u>MEMORY ALLOCATION ON ORCA LOGIN NODE</u>
+
  
Java will crash immediately when run interactively on orcas login nodes unless a command line argument with format XmxNNNN (where NNNN specifies the requested memory allocation pool) is specified. The value should be chosen less then the 1GB hard memory limit of the login node. For instance 512mb would be acceptable:
+
<pre>
 +
[roberpj@orc-login1:~] /opt/sharcnet/jdk/current/bin/java -Xmx512m -version
 +
java version "1.6.0_13"
 +
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
 +
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
  
[roberpj@orc-login1:~] java -Xmx512m -version
+
[roberpj@orc-login1:~] /opt/sharcnet/jdk/current/bin/javac -J-Xmx512m -version
java version "1.6.0_13"
+
javac 1.6.0_13
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
+
</pre>
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
+

Revision as of 17:14, 6 July 2012

JDK
Description: The Java SE Development Kit
SHARCNET Package information: see JDK software page in web portal
Full list of SHARCNET supported software


PROVIDED BINARIES (version 1.6.0_22)

[roberpj@gul2:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin] ls
java  keytool  orbd  pack200  policytool  rmid  rmiregistry  servertool  tnameserv  unpack200

PROVIDED BINARIES (version 1.6.0_13)

[roberpj@bul125:/opt/sharcnet/jdk/current/bin] ls jav*
java  javac  javadoc  javah  javap  javaws

<b>Bash Shell Users: </b> export PATH=/opt/sharcnet/jdk/current/bin:$PATH
<b>Csh Users: </b> set path = (/opt/sharcnet/jdk/current/bin $path)

MEMORY ALLOCATION ON ORCA LOGIN NODE

Java and javac will crash immediately when run interactively on orcas login nodes unless a command line argument with format XmxNNNN (where NNNN specifies the requested memory allocation pool) is specified. The value should be chosen less then the 1GB hard memory limit of the login node. For instance 512mb would be acceptable as shown here:

[roberpj@orc-login1:~] /opt/sharcnet/jdk/current/bin/java -Xmx512m -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)

[roberpj@orc-login1:~] /opt/sharcnet/jdk/current/bin/javac -J-Xmx512m -version
javac 1.6.0_13