JDK

Z MetaCentrum
Skočit na navigaci Skočit na vyhledávání

Description

JDK is a collection of Java development tools. Its part is also JRE, compiler and many other tools. Program extension Java 3D is also available, Java 3D enables possibility of using accelerated 3D graphics. There is also available JDK of companies SUN and IBM in versions 6, 7 and 8.

License

Binary Code License

Usage

Upcoming modulesystem change alert!

Due to large number of applications and their versions it is not practical to keep them explicitly listed at our wiki pages. Therefore an upgrade of modulefiles is underway. A feature of this upgrade will be the existence of default module for every application. This default choice does not need version number and it will load some (usually latest) version.

You can test the new version now by adding a line

source /cvmfs/software.metacentrum.cz/modulefiles/5.1.0/loadmodules

to your script before loading a module. Then, you can list all versions of jdk and load default version of jdk as

module avail jdk/ # list available modules
module load jdk   # load (default) module


If you wish to keep up to the current system, it is still possible. Simply list all modules by

module avail jdk

and choose explicit version you want to use. Then run as

#!/bin/bash
export CLASSPATH=/home/something/something.jar:/software/java-libs/javamail-1.4/mail.jar:/software/java-libs/jaf-1.1/activation.jar
java cz.something.SomeClass

Threading and PBS resources violation

When running Java uses the garbage collector and other techniques. This can increase the number of used processors which can violate the CPU limit set by scheduler. To avoid this you can:

 # try to request more resources (eg. 4 more processors)
 # run Java with some parameters, eg. java  -XX:+UseSerialGC -XX:-BackgroundCompilation

Documentation

Documentation is available on server of producer.

Homepage

URL: http://java.sun.com/javase/