Differences between revisions 108 and 109
Revision 108 as of 2009-06-06 19:34:17
Size: 4541
Editor: ?JuanRicart
Comment: Correcting openjdk's JDK package link
Revision 109 as of 2009-06-21 13:46:53
Size: 4584
Editor: FranklinPiat
Comment: squeeze OpenJDK 's web plugin is icedtea6-plugin
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
||OpenJDK || v6 ||JRE{{{}}}:DebPkg:openjdk-6-jre <<BR>>JDK{{{}}}:DebPkg:openjdk-6-jdk || [[DebPkg:icedtea-gcjwebplugin|compatible]] || :-) || A GPL2 version of Sun's JDK ! <<BR>>Available on all archs.|| ||OpenJDK || v6 ||JRE{{{}}}:DebPkg:openjdk-6-jre <<BR>>JDK{{{}}}:DebPkg:openjdk-6-jdk || compatible:<<BR>>[[DebPkg:icedtea-gcjwebplugin]] ''or'' [[DebianPkg:icedtea6-plugin]] || :-) || A GPL2 version of Sun's JDK ! <<BR>>Available on all archs.||

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:

  • ?BlackDownJava, easy installation and with Mozilla plugin. (No longer developed)

  • ?IBMJava

  • Sun

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

Understanding Java Virtual packages names

ToDo: explain those virtual packages.

  • java-runtime, java1-runtime, java2-runtime, java5-runtime, java6-runtime
  • java-runtime-headless, java1-runtime-headless, java2-runtime-headless, java5-runtime-headless, java6-runtime-headless
  • java-virtual-machine

And for development environment

  • java-compiler, java2-compiler
  • java-sdk, java2-sdk, java5-sdk, java6-sdk
  • ...

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
  • Debian Java FAQ outside of this wiki

  • JavaFAQ - in this wiki, only one question so far :)

  • Eclipse

  • Building Java apps/libs on Debian (... with free tools): ?Java/Building/JOnAS

  • Java in the Webbrowser:

See also