old-www/LDP/www.debian.org/doc/manuals/debian-java-faq/ch-debian-java-etch.html

337 lines
14 KiB
HTML
Raw Permalink Blame History

<!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. - Status of Java in Debian's older releases (before Lenny)</title>
<link href="index.html" rel="start">
<link href="ch2.html" rel="prev">
<link href="ch-debian-java-lenny.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 Introduction to Java">
<link href="ch-debian-java-etch.html" rel="chapter" title="3 Status of Java in Debian's older releases (before Lenny)">
<link href="ch-debian-java-lenny.html" rel="chapter" title="4 Status of Java in Debian GNU/Linux 5.0 (Lenny)">
<link href="ch-debian-java-squeeze.html" rel="chapter" title="5 Status of Java in Debian Squeeze">
<link href="ch6.html" rel="chapter" title="6 Java Development">
<link href="ch7.html" rel="chapter" title="7 Java Compilers">
<link href="ch8.html" rel="chapter" title="8 Java Virtual Machines (JVM)">
<link href="ch-browser-java.html" rel="chapter" title="9 Java Plugins for Browsers">
<link href="ch10.html" rel="chapter" title="10 Java Servlets">
<link href="ch11.html" rel="chapter" title="11 Java Policy">
<link href="ch12.html" rel="chapter" title="12 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#s-moreinfo" rel="section" title="1.4 Complementary information">
<link href="ch1.html#s-pending" rel="section" title="1.5 Uncovered issues">
<link href="ch2.html#s2.1" rel="section" title="2.1 What is Java?">
<link href="ch2.html#s2.2" rel="section" title="2.2 Why would I be interested in Java?">
<link href="ch2.html#s2.3" rel="section" title="2.3 What is a JIT?">
<link href="ch2.html#s2.4" rel="section" title="2.4 Where can I read more about Java?">
<link href="ch2.html#s2.5" rel="section" title="2.5 Where can I ask questions about Java on Debian?">
<link href="ch-debian-java-etch.html#s3.1" rel="section" title="3.1 Is the information in this chapter still up to date?">
<link href="ch-debian-java-etch.html#s3.2" rel="section" title="3.2 Where is Debian Java going?">
<link href="ch-debian-java-etch.html#s3.3" rel="section" title="3.3 Is there a Java1 compiler (.java to .class)?">
<link href="ch-debian-java-etch.html#s3.4" rel="section" title="3.4 Is there a Java1 JVM or JIT?">
<link href="ch-debian-java-etch.html#s3.5" rel="section" title="3.5 Is there a Java1 native compiler?">
<link href="ch-debian-java-etch.html#s3.6" rel="section" title="3.6 Is there a Java Debugger (jdb equivalent)?">
<link href="ch-debian-java-etch.html#s3.7" rel="section" title="3.7 Is there a Jar tool?">
<link href="ch-debian-java-etch.html#s3.8" rel="section" title="3.8 Is there a Javadoc tool?">
<link href="ch-debian-java-etch.html#s3.9" rel="section" title="3.9 Does Debian do Enterprise Java Beans (EJB)?">
<link href="ch-debian-java-etch.html#s3.10" rel="section" title="3.10 What is JAIN?">
<link href="ch-debian-java-etch.html#s3.11" rel="section" title="3.11 What is Jini?">
<link href="ch-debian-java-etch.html#s3.12" rel="section" title="3.12 Are there many changes in Sarge?">
<link href="ch-debian-java-etch.html#s3.13" rel="section" title="3.13 What can I expect in future releases?">
<link href="ch-debian-java-lenny.html#s4.1" rel="section" title="4.1 What is new in Lenny?">
<link href="ch-debian-java-squeeze.html#s5.1" rel="section" title="5.1 What is new in Squeeze?">
<link href="ch-debian-java-squeeze.html#s5.2" rel="section" title="5.2 What are the most important changes in the Java policy?">
<link href="ch-debian-java-squeeze.html#s5.3" rel="section" title="5.3 What have been removed in Squeeze?">
<link href="ch6.html#s6.1" rel="section" title="6.1 What full-fledged Java development platforms are available in Debian?">
<link href="ch6.html#s-free" rel="section" title="6.2 What free platforms are there and how can I contribute?">
<link href="ch6.html#s-license-concerns" rel="section" title="6.3 Questions on platforms and license concerns">
<link href="ch6.html#s6.4" rel="section" title="6.4 Making Debian packages for Java programs.">
<link href="ch7.html#s7.1" rel="section" title="7.1 What Java compilers are available in Debian?">
<link href="ch8.html#s8.1" rel="section" title="8.1 What jvms work in Debian?">
<link href="ch8.html#s8.2" rel="section" title="8.2 What free JVMs are available in Debian?">
<link href="ch8.html#s8.3" rel="section" title="8.3 What API do these JVMs provide?">
<link href="ch8.html#s8.4" rel="section" title="8.4 Are there known problems?">
<link href="ch8.html#s8.5" rel="section" title="8.5 Do I need a JVM to run a Java program in Debian?">
<link href="ch10.html#s10.1" rel="section" title="10.1 How can I make Java servlets work?">
<link href="ch11.html#s11.1" rel="section" title="11.1 Is there a Java policy for Debian?">
<link href="ch11.html#s11.2" rel="section" title="11.2 Are there holes in the Java Policy?">
<link href="ch12.html#s12.1" rel="section" title="12.1 Java programs not yet available on Debian">
<link href="ch-debian-java-etch.html#s3.6.1" rel="subsection" title="3.6.1 What free edit-interactive/graphical debugging tools are available on Debian?">
<link href="ch6.html#s-java56" rel="subsection" title="6.3.1 Java 5 and 6">
<link href="ch6.html#s-openjdk" rel="subsection" title="6.3.2 Sun's OpenJDK">
<link href="ch6.html#s6.4.1" rel="subsection" title="6.4.1 Can the package go into main?">
<link href="ch6.html#s6.4.2" rel="subsection" title="6.4.2 What virtual packages could I use?">
<link href="ch6.html#s6.4.3" rel="subsection" title="6.4.3 Is there a good example Debian package?">
<link href="ch6.html#s6.4.4" rel="subsection" title="6.4.4 What tools are available to make maintaining a Java packages easier?">
<link href="ch8.html#s8.5.1" rel="subsection" title="8.5.1 How do I compile to native code?">
</head>
<body>
<p><a name="ch-debian-java-etch"></a></p>
<hr>
<p>
[ <a href="ch2.html">previous</a> ]
[ <a href="index.html#contents">Contents</a> ]
[ <a href="ch1.html">1</a> ]
[ <a href="ch2.html">2</a> ]
[ 3 ]
[ <a href="ch-debian-java-lenny.html">4</a> ]
[ <a href="ch-debian-java-squeeze.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">9</a> ]
[ <a href="ch10.html">10</a> ]
[ <a href="ch11.html">11</a> ]
[ <a href="ch12.html">12</a> ]
[ <a href="ch-debian-java-lenny.html">next</a> ]
</p>
<hr>
<h1>
Debian Java FAQ.
<br>Chapter 3 - Status of Java in Debian's older releases (before Lenny)
</h1>
<hr>
<h2><a name="s3.1"></a>3.1 Is the information in this chapter still up to date?</h2>
<p>
Probably not but it takes some time to re-check every entry. That is why we
keep the information for a while.
</p>
<hr>
<h2><a name="s3.2"></a>3.2 Where is Debian Java going?</h2>
<p>
The first thing you should understand about the design strategy of Debian is
that our goal is to produce a 100% Free Software platform. In that sense, some
of the Java tools available are not available in the standard Debian
distribution for licensing reasons, not for any technical motivation (see <a
href="ch6.html#s-license-concerns">Questions on platforms and license concerns,
Section 6.3</a>).
</p>
<p>
That said, basically all of the technologies you might ask about can be or are
available for Debian immediately. In order to usefully answer your questions,
however, here you have a status from an Open Source availability perspective.
</p>
<p>
If you are <em>really</em> interested, read the following: <code><a
href="http://lists.debian.org/debian-java/1999/debian-java-199912/msg00015.html">http://lists.debian.org/debian-java/1999/debian-java-199912/msg00015.html</a></code>
and <code><a
href="http://lists.debian.org/debian-java/1999/debian-java-199910/msg00017.html">http://lists.debian.org/debian-java/1999/debian-java-199910/msg00017.html</a></code>.
This section is a summary of the information therein. (<em>Note</em>: this
information might not be fully updated at this point in time, it was written
around 1999)
</p>
<hr>
<h2><a name="s3.3"></a>3.3 Is there a Java1 compiler (.java to .class)?</h2>
<p>
Gcj can also compile .java to .class. CVS version currently does handle inner
classes, as well as any other jdk 1.1 constructs, but might not be able to
compile a complicated program like the XSL processor xt. It is written in C,
so is reasonably fast. It generates reasonably good bytecode. And of course
being able to use the same compiler for .java to .class and .java to native has
its advantages.
</p>
<hr>
<h2><a name="s3.4"></a>3.4 Is there a Java1 JVM or JIT?</h2>
<p>
libgcj (the run-time library for gcj) now includes an interpreter and
ClassLoader.
</p>
<hr>
<h2><a name="s3.5"></a>3.5 Is there a Java1 native compiler?</h2>
<p>
GCC, the Gnu Compiler Collection comes with GCJ, the Gnu Compiler for Java
</p>
<hr>
<h2><a name="s3.6"></a>3.6 Is there a Java Debugger (jdb equivalent)?</h2>
<p>
Gdb can debug native code produced by Gcj. Stuart Grossman (Cygnus) also wrote
support for Gdb to debug other VMs using JVMDI. This has not been released,
because the Gdb internals were changed at the same time, and no-one has had
time to re-integrate the changes. We can probably get Cygnus to release the
old code, if someone wants to look into getting this stuff working with the
current Gdb internals. (A non-trivial job.)
</p>
<p>
See <code><a
href="http://gcc.gnu.org/java/gdb.html">http://gcc.gnu.org/java/gdb.html</a></code>
on how to debug gcj-compiled Java programs.
</p>
<hr>
<h3><a name="s3.6.1"></a>3.6.1 What free edit-interactive/graphical debugging tools are available on Debian?</h3>
<p>
jde, ddd, eclipse, more?
</p>
<p>
One of the some nice features of jde are autoindention and syntax highlighting,
but it also supports debugging and compilation.
</p>
<hr>
<h2><a name="s3.7"></a>3.7 Is there a Jar tool?</h2>
<p>
<code>FastJar</code> which is indeed very fast.
</p>
<hr>
<h2><a name="s3.8"></a>3.8 Is there a Javadoc tool?</h2>
<p>
<code>doc++</code> can work with C++ and Java. Additionally, there are the
<code>gjdoc</code> and <code>gjdoc-native</code> packages.
</p>
<hr>
<h2><a name="s3.9"></a>3.9 Does Debian do Enterprise Java Beans (EJB)?</h2>
<p>
There is activity in this area, the most noteworthy being the Open Source EJB
implementation from Bull in France called Jonas. I have done some work with
this system and it provides a good start towards a full EJB feature set. In
particular, it provides a transaction monitor and a container based persistance
implementation. I have used this system on Linux with free databases such as
Postgresql. I have not been able to get the system fully operational on Kaffe.
Additionally, the system depends on many Sun APIs which have not been cloned
(JTA, JNDI, and EJB itself).
</p>
<hr>
<h2><a name="s3.10"></a>3.10 What is JAIN?</h2>
<p>
It seems to be a system for controlling large scale, integrated communications
infrastructures and modeling events with such networks via the JavaBeans API.
The scale of this effort seems very large and encompasses the work of many
organizations. The work is very new and seems to tie into Sun's SCSL strategy,
which leads us me to believe that there is not much in the way of Open Source
options in this area. However, some protocols such as H.323 are genuinely open
and are even cloned so it is possible that chunks of the JAIN system may exist
in a scattered manner. We have no knowledge of a serious Free Software
implementation of RTP or the H.323 infrastructures in Java.
</p>
<hr>
<h2><a name="s3.11"></a>3.11 What is Jini?</h2>
<p>
Jini presents an especially pronounced Free Software problem. Jini is only
available as source from Sun and that source is only available under the SCSL.
The SCSL is not compatible in any sense with either the legal mechanics or the
political spirit of Free Software. The SCSL also makes cloning the API of an
SCSL implementation illegal which precludes even a clean room replication of
Jini. If you are interested in tuple space type implementations there are Open
Source options.
</p>
<hr>
<h2><a name="s3.12"></a>3.12 Are there many changes in Sarge?</h2>
<p>
At this moment, there only seems to be dh_javadoc, which is a tool in the
<code>gjdoc</code> package. However, people spoke about other tools on the
debian-java mailing list in 2003.
</p>
<p>
The <em>Etch</em> release was the first one to provide Sun's JDK environment
without the need to download it from third-party repositories (see <a
href="ch6.html#s-java56">Java 5 and 6, Section 6.3.1</a>).
</p>
<hr>
<h2><a name="s3.13"></a>3.13 What can I expect in future releases?</h2>
<p>
Debian has a roadmap at the <code><a
href="http://wiki.debian.org/Java/RoadMap">Debian Java Wiki</a></code>.
</p>
<hr>
<p>
[ <a href="ch2.html">previous</a> ]
[ <a href="index.html#contents">Contents</a> ]
[ <a href="ch1.html">1</a> ]
[ <a href="ch2.html">2</a> ]
[ 3 ]
[ <a href="ch-debian-java-lenny.html">4</a> ]
[ <a href="ch-debian-java-squeeze.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">9</a> ]
[ <a href="ch10.html">10</a> ]
[ <a href="ch11.html">11</a> ]
[ <a href="ch12.html">12</a> ]
[ <a href="ch-debian-java-lenny.html">next</a> ]
</p>
<hr>
<p>
Debian Java FAQ.
</p>
<address>
$Revision: 7288 $, $Date: 2010-04-12 15:45:36 +0000 (Mon, 12 Apr 2010) $<br>
<br>
Torsten Werner <code><a href="mailto:twerner@debian.org">twerner@debian.org</a></code><br>
Niels Thykier <code><a href="mailto:niels@thykier.net">niels@thykier.net</a></code><br>
Javier Fern<72>ndez-Sanguino Pe<50>a <code><a href="mailto:jfs@debian.org">jfs@debian.org</a></code><br>
<br>
</address>
<hr>
</body>
</html>