[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ next ]

Debian Java FAQ.
Chapter 4 - Java Virtual Machines (JVM)

4.1 What JVMs are available in Debian?

The following JVMs are currently available in Debian Wheezy:

The following lists JVMs available in Debian 6.0 release ('Squeeze'):

4.2 What Java Compilers are available in Debian?

4.3 What API do these JVMs provide?

Note that providing an API does not mean that everything is implemented, and certainly not implemented correctly.

4.4 Are there known problems?

Yes, there are. Some of these are reported as Debian bugs. You can look up the bugs for a specific Debian package at the Debian Bug Tracking System. As a quick link, here are some packages:

As common within the Debian project, the developers would appreciate good bug reports on found problems. These include the good description of the problem, the command that gives the problem, the errors given when running the command, and any other information that might be relevant. A good tool to report bugs is reportbug.

4.5 How can I use the proprietary version of the JDK/JRE from Oracle as a Debian package?

The package java-package provides an easy way to convert an upstream installer into a Debian package. It should be as easy as:

     make-jpkg ~/Downloads/jdk-6u31-linux-x64.bin

For more information, see this Blog article

4.6 Do I need a JVM to run a Java program in Debian?

No, you can try to run the applications without a jvm by compiling the source code to native code is. However, the usage of the OpenJDK is recommended. For example, gcj does not provide any support of Swing (the Java GUI API).

4.6.1 How do I compile to native code?

You might be able to use gcj to compile the program. And use gcj to convert bytecode to native code. The entire software chain is free.

[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ next ]

Debian Java FAQ.

$Revision: 7831 $, $Date: 2013-06-05 21:17:15 +0100 $

Torsten Werner mailto:twerner@debian.org
Niels Thykier mailto:niels@thykier.net
Javier Fernández-Sanguino Peña mailto:jfs@debian.org
Sylvestre Ledru mailto:sylvestre@debian.org