From ScientificComputing
Jump to: navigation, search


Development, Compiler


Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere" (WORA), meaning that compiled Java code can run on all platforms that support Java without the need for recompilation. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of computer architecture. Java was originally developed by James Gosling at Sun Microsystems (which has since been acquired by Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++, but it has fewer low-level facilities than either of them.

Available versions (Euler, old software stack)

Legacy versions Supported versions New versions
1.6.0_31 1.7.0_51, 1.8.0_31, 1.8.0_91

Environment modules (Euler, old software stack)

Version Module load command Additional modules loaded automatically
1.6.0_31 module load legacy java/1.6.0_31
1.7.0_51 module load java/1.7.0_51
1.8.0_31 module load java/1.8.0_31
1.8.0_91 module load java/1.8.0_91

How to submit a job

You can submit a Java job (my_java_program.jar) in batch mode with the following command:
bsub [LSF options] "java -jar my_java_program.jar"
Here you need to replace [LSF options] with LSF parameters for the resource requirements of the job. Please find a documentation about the parameters of bsub on the wiki page about the batch system.

License information

Oracle provides their jdk jre under the Binary Code License.