/usr/share/doc/java-common/debian-java-faq/ch4.html is in java-common 0.52.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Debian Java FAQ. - Java Virtual Machines (JVM)</title>
<link href="index.html" rel="start">
<link href="ch3.html" rel="prev">
<link href="ch-browser-java.html" rel="next">
<link href="index.html#contents" rel="contents">
<link href="index.html#copyright" rel="copyright">
<link href="ch1.html" rel="chapter" title="1 Introduction">
<link href="ch2.html" rel="chapter" title="2 Java Development">
<link href="ch3.html" rel="chapter" title="3 Managing Java (for users and administrators)">
<link href="ch4.html" rel="chapter" title="4 Java Virtual Machines (JVM)">
<link href="ch-browser-java.html" rel="chapter" title="5 Java Plugins for Browsers">
<link href="ch6.html" rel="chapter" title="6 Java Servlets">
<link href="ch7.html" rel="chapter" title="7 Java Policy">
<link href="ch8.html" rel="chapter" title="8 Other Java alternatives for Debian">
<link href="ch1.html#s1.1" rel="section" title="1.1 Introduction to this FAQ">
<link href="ch1.html#s1.2" rel="section" title="1.2 Location of this FAQ">
<link href="ch1.html#s-bugs" rel="section" title="1.3 Sending bugs on this FAQ">
<link href="ch1.html#s1.4" rel="section" title="1.4 What is Java?">
<link href="ch1.html#s1.5" rel="section" title="1.5 Where can I ask questions about Java on Debian?">
<link href="ch1.html#s-moreinfo" rel="section" title="1.6 Complementary information">
<link href="ch1.html#s-pending" rel="section" title="1.7 Uncovered issues">
<link href="ch2.html#s2.1" rel="section" title="2.1 What full-fledged Java development platforms are available in Debian?">
<link href="ch2.html#s-free" rel="section" title="2.2 What free platforms are there and how can I contribute?">
<link href="ch2.html#s-license-concerns" rel="section" title="2.3 Questions on platforms and license concerns">
<link href="ch2.html#s2.4" rel="section" title="2.4 Making Debian packages for Java programs.">
<link href="ch4.html#s4.1" rel="section" title="4.1 What JVMs are available in Debian?">
<link href="ch4.html#s4.2" rel="section" title="4.2 What Java Compilers are available in Debian?">
<link href="ch4.html#s4.3" rel="section" title="4.3 What API do these JVMs provide?">
<link href="ch4.html#s4.4" rel="section" title="4.4 Are there known problems?">
<link href="ch4.html#s4.5" rel="section" title="4.5 How can I use the proprietary version of the JDK/JRE from Oracle as a Debian package?">
<link href="ch4.html#s4.6" rel="section" title="4.6 Do I need a JVM to run a Java program in Debian?">
<link href="ch6.html#s6.1" rel="section" title="6.1 How can I make Java servlets work?">
<link href="ch7.html#s7.1" rel="section" title="7.1 Is there a Java policy for Debian?">
<link href="ch7.html#s7.2" rel="section" title="7.2 Are there holes in the Java Policy?">
<link href="ch8.html#s8.1" rel="section" title="8.1 Java programs not yet available on Debian">
<link href="ch2.html#s-java6" rel="subsection" title="2.3.1 Java 6 and 7">
<link href="ch2.html#s-openjdk" rel="subsection" title="2.3.2 Oracle proprietary JVM">
<link href="ch2.html#s2.4.1" rel="subsection" title="2.4.1 Can the package go into main?">
<link href="ch2.html#s2.4.2" rel="subsection" title="2.4.2 Is there a good example Debian package?">
<link href="ch2.html#s2.4.3" rel="subsection" title="2.4.3 What tools are available to make maintaining a Java packages easier?">
<link href="ch2.html#s2.4.4" rel="subsection" title="2.4.4 Linking package Javadoc to system javadoc.">
<link href="ch4.html#s4.6.1" rel="subsection" title="4.6.1 How do I compile to native code?">
</head>
<body>
<p><a name="ch4"></a></p>
<hr>
<p>
[ <a href="ch3.html">previous</a> ]
[ <a href="index.html#contents">Contents</a> ]
[ <a href="ch1.html">1</a> ]
[ <a href="ch2.html">2</a> ]
[ <a href="ch3.html">3</a> ]
[ 4 ]
[ <a href="ch-browser-java.html">5</a> ]
[ <a href="ch6.html">6</a> ]
[ <a href="ch7.html">7</a> ]
[ <a href="ch8.html">8</a> ]
[ <a href="ch-browser-java.html">next</a> ]
</p>
<hr>
<h1>
Debian Java FAQ.
<br>Chapter 4 - Java Virtual Machines (JVM)
</h1>
<hr>
<hr>
<h2 id="s4.1">4.1 What JVMs are available in Debian?</h2>
<p>
The following JVMs are currently available in Debian Wheezy:
</p>
<ul>
<li>
<p>
<code>openjdk-6-jre</code>
</p>
</li>
</ul>
<ul>
<li>
<p>
<code>openjdk-7-jre</code>
</p>
</li>
</ul>
<ul>
<li>
<p>
<code>gcj-4.7-jre</code>
</p>
</li>
</ul>
<p>
The following lists JVMs available in Debian 6.0 release ('Squeeze'):
</p>
<ul>
<li>
<p>
<code>openjdk-6-jre</code>
</p>
</li>
</ul>
<ul>
<li>
<p>
<code>sun-java6-jre</code> (non-free)
</p>
</li>
</ul>
<ul>
<li>
<p>
<code>gcj-4.4-jre</code>
</p>
</li>
</ul>
<hr>
<h2 id="s4.2">4.2 What Java Compilers are available in Debian?</h2>
<ul>
<li>
<p>
<code>openjdk-6-jdk</code>
</p>
</li>
</ul>
<ul>
<li>
<p>
<code>openjdk-7-jdk</code>
</p>
</li>
</ul>
<ul>
<li>
<p>
<code>gcj</code>. Compiles Java source to native code, also source to
bytecode, or bytecode to native code. Please note that the support of the Java
language is not completed.
</p>
</li>
</ul>
<hr>
<h2 id="s4.3">4.3 What API do these JVMs provide?</h2>
<p>
Note that providing an API does not mean that everything is implemented, and
certainly not implemented correctly.
</p>
<hr>
<h2 id="s4.4">4.4 Are there known problems?</h2>
<p>
Yes, there are. Some of these are reported as Debian bugs. You can look up
the bugs for a specific Debian package at the <code><a
href="http://www.debian.org/Bugs/">Debian Bug Tracking System</a></code>. As a
quick link, here are some packages:
</p>
<ul>
<li>
<p>
<code><a href="http://bugs.debian.org/java-common">java-common</a></code>
</p>
</li>
</ul>
<ul>
<li>
<p>
<code><a href="http://bugs.debian.org/src:openjdk-6">openjdk-6</a></code>
</p>
</li>
</ul>
<ul>
<li>
<p>
<code><a href="http://bugs.debian.org/src:openjdk-7">openjdk-7</a></code>
</p>
</li>
</ul>
<ul>
<li>
<p>
<code><a href="http://bugs.debian.org/src:gcj-4.7">gcj-4.7</a></code>
</p>
</li>
</ul>
<p>
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 <code>reportbug</code>.
</p>
<hr>
<h2 id="s4.5">4.5 How can I use the proprietary version of the JDK/JRE from Oracle as a Debian package?</h2>
<p>
The package <code><a
href="http://packages.debian.org/wheezy/java-package/">java-package</a></code>
provides an easy way to convert an upstream installer into a Debian package.
It should be as easy as:
</p>
<pre>
make-jpkg ~/Downloads/jdk-6u31-linux-x64.bin
</pre>
<p>
For more information, see this <code><a
href="http://sylvestre.ledru.info/blog/2012/02/29/java_package_replacement_of_sun_java6">Blog
article</a></code>
</p>
<hr>
<h2 id="s4.6">4.6 Do I need a JVM to run a Java program in Debian?</h2>
<p>
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).
</p>
<hr>
<h3 id="s4.6.1">4.6.1 How do I compile to native code?</h3>
<p>
You might be able to use <code>gcj</code> to compile the program. And use
<code>gcj</code> to convert bytecode to native code. The entire software chain
is free.
</p>
<hr>
<p>
[ <a href="ch3.html">previous</a> ]
[ <a href="index.html#contents">Contents</a> ]
[ <a href="ch1.html">1</a> ]
[ <a href="ch2.html">2</a> ]
[ <a href="ch3.html">3</a> ]
[ 4 ]
[ <a href="ch-browser-java.html">5</a> ]
[ <a href="ch6.html">6</a> ]
[ <a href="ch7.html">7</a> ]
[ <a href="ch8.html">8</a> ]
[ <a href="ch-browser-java.html">next</a> ]
</p>
<hr>
<p>
Debian Java FAQ.
</p>
<address>
$Revision: 7831 $, $Date: 2013-06-05 21:17:15 +0100 $<br>
<br>
Torsten Werner <code><a href="mailto:twerner@debian.org">mailto:twerner@debian.org</a></code><br>
Niels Thykier <code><a href="mailto:niels@thykier.net">mailto:niels@thykier.net</a></code><br>
Javier Fernández-Sanguino Peña <code><a href="mailto:jfs@debian.org">mailto:jfs@debian.org</a></code><br>
Sylvestre Ledru <code><a href="mailto:sylvestre@debian.org">mailto:sylvestre@debian.org</a></code><br>
<br>
</address>
<hr>
</body>
</html>
|