From Documentation
Revision as of 17:14, 6 July 2012 by Roberpj (Talk | contribs)

Jump to: navigation, search
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-] 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)


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