Translation(s): none

(!) ?Discussion


JRE / JDK under Debian

Debian provides many Java implementation. Each of them have a development environment (JDK) and a runtime (known as JRE, or Java Virtual Machines JVM).

Here's a list of Java environment. (Run aptitude search "?provides(java-runtime)" on your system to list available packages).

Origin

Spec.

Packages

Plugin

Free

Comments

GNU's GIJ/GCJ 4.2, 4.3

v5

JRE:gij (java-gcj-compat...)
JDK:gcj

yes

:-)

Installed by default.

Sun Java 1.5

v5

JRE:sun-java5-jre
JDK:sun-java5-jdk

yes

:-(

Sun's JVM !
Compatible with older Java programs
Available on i386 and amd64 only.

Sun Java 1.6

v6

JRE:sun-java6-jre
JDK:sun-java6-jdk

yes

:-(

Sun's JVM !
Latest release
Available on i386 and amd64 only.

OpenJDK

v6

JRE:openjdk-6-jre
JDK:openjdk-6-jdk

compatible:
icedtea-gcjwebplugin or icedtea6-plugin

:-)

A GPL2 version of Sun's JDK !
Available on all archs.

?Kaffe

v1?

JRE:kaffe
JDK:kaffe

no

:-)

Kaffe, another JVM

Other JRE/JDK: It is possible to package and install other JRE/JDK from (Blackdown, IBM, Sun) using JavaPackage:

The following JRE/JDK aren't available in Debian anymore (as of DebianLenny) : sablevm, sun's jre<1.5

Understanding Java Virtual packages names

There are several virtual packages used in Debian for Java. These cover runtime compatibility and come in two flavours; headless (omits graphical interfaces) and normal. A dependency on javaX-runtime means that the package can work with any runtime which implements version X. Runtimes should provide all virtual packages which they support, so openjdk 6 provides java2-runtime, java5-runtime and java6-runtime.

Developers - Java packaging work in Debian

general information and coordination

Work on specific application packages

TODO(wiki consolidation): maybe everything should be moved from here to Java/RequestedPackages?

User Documentation

Using Java in Debian

To install the default JRE on your system, run :

apt-get install default-jre

See also