From 557356494e2055a1fd2ba9ae31c0d4361e9eeae0 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Mon, 5 Apr 2010 12:03:38 +0000 Subject: Pulled another update from ddp. --- debian-java-faq/Makefile | 2 + debian-java-faq/debian-java-faq.sgml | 380 +---------------------------------- 2 files changed, 10 insertions(+), 372 deletions(-) (limited to 'debian-java-faq') diff --git a/debian-java-faq/Makefile b/debian-java-faq/Makefile index 0c24a49..75c2ec5 100644 --- a/debian-java-faq/Makefile +++ b/debian-java-faq/Makefile @@ -24,6 +24,8 @@ publish: $(MANUAL).html/index.html install -m 644 --preserve-timestamps $(MANUAL).html/*.html \ $(PUBLISHDIR)/$(MANUAL)/ +generate: $(MANUAL).html/index.html + $(MANUAL).html/index.html: $(wildcard *.sgml) debiandoc2html $(MANUAL).sgml diff --git a/debian-java-faq/debian-java-faq.sgml b/debian-java-faq/debian-java-faq.sgml index 0c273c3..a1c860c 100644 --- a/debian-java-faq/debian-java-faq.sgml +++ b/debian-java-faq/debian-java-faq.sgml @@ -230,20 +230,6 @@ name="Setting Up A Java Development Enviroment For Linux"> - - - - - - , a free multilingual journal: @@ -298,7 +284,12 @@ id="http://www.debian.org/MailingLists/subscribe" name="Mailing List Subscription"> page. -Status of Java in Debian GNU/Linux 3.0 (Woody) +Status of Java in Debian's older releases (before Lenny) + +Is the information in this chapter still up to date? +

+Probably not but it takes some time to re-check every entry. That is why we keep +the information for a while. Where is Debian Java going? @@ -327,9 +318,6 @@ This section is a summary of the information therein. time, it was written around 1999) Is there a Java1 compiler (.java to .class)? -

There is the Kopi Java Compiler written -in Java. And the super fast Jikes written in C++. -

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 @@ -341,39 +329,13 @@ of course being able to use the same compiler for .java to .class and Is there a Java1 JVM or JIT? -

Kaffe 1.0.5 is largely feature complete and now includes support -for RMI. It is not clear as to whether Kaffe's serialization is -"binary compatible" with Sun's implementation in all cases so there -may be interoperation issues in some casses. Kaffe comes with a big -class library. - -

libgcj (the run-time library for gcj) now includes an interpreter and ClassLoader. -

tya, a JIT compiler, is also available. Is there a Java1 native compiler?

GCC, the Gnu Compiler Collection comes with GCJ, the Gnu Compiler for Java -Java2 native compiler -

It is unclear whether native compiler refers to the adaptive JIT - capabilities in Java2 or to a compiler that understands Java2 - semantics. In either case, Kaffe's JIT strategy is not adaptive but - performs correctly, and improving, it is believed IBM's Jikes - compiler understands Java2 concepts such as weak references. - -Does Debian have Java2 foundation libraries? - -

Many of these components have been cloned under a Free Software -license. Kaffe provides many of these routines, including an -up-to-date RMI implementation. There are, however, definitely -shortcomings. Swing, as far as we know, has not been cloned. - Is there a Java Debugger (jdb equivalent)? -

jswat -

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 @@ -391,34 +353,8 @@ Debian?

One of the some nice features of jde are autoindention and syntax highlighting, but it also supports debugging and compilation. -Known problems - -

My version of jdb (jdb version 98/01/06) terminates -after a program finishes execution, and I have to reset every -breakpoint if I want to run through the program again. This makes -using jdb extremely frustrating. Jdb also can't (easily) print the -values in an array which is more than three elements long. Ddd lets me -work around both of these annoyances. - -

ddd 3.1 and earlier would "hang" when receiving -certain prompts with wierd thread names from jdb. This made it very -hard to use ddd with jdb. This has been fixed in ddd 3.2. It doesn't -look like ddd 3.2 has been packaged yet. I suspect the current -packaged version of ddd won't work well with jdb. - - -Is there an Appletviewer tool? -

There are some alternatives for an appletviewer tool: - - -Blackdown's appletviewer (in jdk1.1). -Kaffe's appletviewer. -Ibm's appletviewer (in ibm-jdk). - - Is there a Jar tool?

FastJar which is indeed very fast. -Kaffe also has a jar tool. Is there a Javadoc tool? @@ -460,184 +396,27 @@ are the gjdoc and gjdoc-native packages. interested in tuple space type implementations there are Open Source options. -Is there a full list of packages? - -

Below is a list given on packages that can be found in Debian 3.0 -(aka Woody). The list does not display which of these packages can be found -in main, and which is contrib or non-free. - - - Runtime environments/Virtual Machines - - jdk1.1 (Sun's JDK 1.1.8) - IBM 's JDK 1.1.8 (installer package) - kaffe - kissme - sablevm - - Tools - - Compilers - - jikes (also jikes-1.14, jikes-gij, - jikes-kaffe) - jdk1.1 - gcj - tya (JIT compiler) - - Debuggers/Testing - - jswat - junit - - IDE/Editors - - jedit - jde - - Build tools - - ant - jmk - mmake - - Other - - fastjar - jad (decompiler) - - -Ant - -Libraries - - lib-dom-java - lib-gnu.getopt-java - lib-gnu.regexp-java - lib-saxon-java - libavalon-excalibur-java - libavalon-framework-java - libbcel-java - libbsf-java - libcrimson-java - libcommons-beanutils-java - libcommons-collections-java - libcommons-digester-java - libjdom-java - libjunitperf-java - libldap-java - liblog4j - liblogkit-java - libnbio-java - liboro-java - libpgjava - libreadline-java - libregexp-java - libservlet2.3-java - libservlet2.2-java - libsoap-java - libtomcat4-java - libxalan-java - libxalan2-java - libxerces-java - libxerces2-java - libxt-java - - -Status of Java in Debian GNU/Linux 3.1 (Sarge) - -Are there many changes? +Are there many changes in Sarge?

-Yes, quite some. There have been very interesting developments -in Debian Java lately. Slowly, there seem be developed a set of -Debian tools to deal with maintaining Debian package of Java -applications and libraries. At this moment, there only seems to be dh_javadoc, which is a tool in the gjdoc package. However, people spoke about other tools on the debian-java mailing list in 2003. -

-In addition to this, ant has found its way into main, -paving to way for other packages to enter main. - -

-And the eclipse seems to get rather stable. Early -August 2003, the gcj team even was able to compile the IDE to native -code, using only minor modifications. - -

- It is quite useful to first browse the section on Java in Debian - GNU/Linux Woody (since those in woody are also in later releases, see - ), - but there are somes changes. Instead of listing all the - packages again, this section will list only changes: - - - eclipse An extensive IDE - sablevm A free Virtual Machine - free-java-sdk A free Java SDK (compiled from DSFG compliant Java tools) - libgnome0-java Java bindings to Gnome GUI library - gjdoc A Javadoc 1.3 replacement (90% of Doclet API implemented) - kaffe Release 1.1.3 can run much more software than 1.0.5 in woody - ant Version 1.6 is in main - - -

-The following packages are no longer in testing/unstable: - - libswing-java Which is mentioned here: . - - -Status of Java in Debian GNU/Linux 4.0 (Etch) -

The Etch release was the first one to provide Sun's JDK environment without the need to download it from third-party repositories (see ). -

As part of the effort to move Java packages to main, 36 new Java packages -were moved to main after being built with free Java development tools. Notably, -ant (a Java-based build tool), -libstruts1.2-java (a MVC framework), -tomcat5 (a Java servlet engine) and -eclipse (a developer's environment platform) have been moved -to main. For the full list see the . - Which Java package are currently in main? - -

-At the time of writing, 209 Java packages were found in main, of which 119 were -Java libraries. To see the list of packages in main (i.e., not contrib and -non-free), try: - - -grep-available -F Depends -sSection,Package java | paste -sd " \n" | \ - grep -v contrib | grep -v non-free | sort - - -

There are additional packages in the contrib section which can be -found with a command similar as the one above. -

The website also maintains a list (probably more up to date) of java packages. What keeps Java packages out of main? -

An overview of packages that are still not in main is found at the -Debian Wiki site: . -

The current status, as of this writing (june 2004) is that there is progress of moving packages that use Java but can be run without the -aid of non-free software from contrib to main. A number of packages -have been moved to main and new releases of GNU Classpath, SableVM, -and Kaffe promise further steps ahead. Two of the major issues -currently being looked at are making gjdoc a proper javadoc -replacement and building ant with Free Software only. People wanting -to help can start by inspecting packages labeled as unknown on the - +aid of non-free software from contrib to main. What can I expect in future releases? @@ -706,12 +485,6 @@ in Debian. There are a lot of projects that you can choose from: kaffe: . - - gcj and libgcj: jikes: . A fast @@ -1719,141 +1492,4 @@ the GPL . -Older Debian GNU/Linux versions - -

This appendix is included for historical reasons. It contains -information that used to be in the FAQ (and indeed still is ;), but -that only has historical value. - -Debian 2.2 'potato' -

- - -Libraries - -lib-fop-java -lib-gnu.getopt-java -lib-gnu.regexp-java -lib-openxml-java -lib-rxtx-java -lib-sax-java -lib-xp-java -lib-xslp-java -lib-xt-java -lib-dom-java -libpgjava -libgcj0 - - -bock Bootstrap-only compiler kit for a subset of Java(tm) - -doc++. A documentation system for C/C++ and Java - -fastjar a complete replacement for the jar -utility written in C under the GPL (check . - -java2html. Highlits Java sources for WWW presentations. - -gcj The GNU compiler for Java(TM). - -global.Source code search and browse. - -guavac. A Java compiler. - -jikes. Fast Java compiler adhering to -language and VM specifications - -jikes-pg.Jikes Parser Generator. - -oo-browser.Object Oriented (X)Emacs Class Browser. - -mmake.Makefile generator for Java programs. - -cocoon. A XML/XSL publishing framework servlet - -bsh A Java scripting environment. -cup. LALR parser generator for Java. -freetds-jdbc. Pure Java JDBC driver for MS -SQL and Sybase. - -gnujsp. -A free implementation of Sun's Java Server Pages (JSP 1.0) - -jlex.A Lex-style lexical analyser generator -for Java - -jservJava Servlet 2.0 engine with an optional -Apache module - -tya.JIT-compiler for Java. - -ibm-jdk1.1-installer. Installer for IBM -Developer Kit for Linux, Java(TM) Technology Edition. - -jdk1.1.JDK 1.1.x (Java Development Kit) - -Runtime only - -jdk1.1-dev JDK 1.1.x (Java Development Kit) - - biss-awt a Java GUI application programming -framework. - -jdk1.1-native.JDK 1.1.x Runtime - native -threads extensions - -jdk1.1-native-dev. JDK 1.1.x - native -threads extensions. - -vrwave.VRML 2.0 java-based browser - - - -

Also many editors (jed, elvis, vim, emacs, fte, xcoral,zed ....) have -support for Java syntax. - -Debian 2.1 'slink' -

- -jdk 1.1.5v5 -vrwave. A Java VRML browser. -icq-java. An installer -for the ICQJava program. -jde. A Java Development -Enviroment for Emacs . -jlex. A lexical analyser generator similar to the UNIX lex. -mmake. A generator of Makefiles for java -programs. More info at -libpgjava. A Java class that -enables communication with the PostgreSQL database using JDBC. -cup. A parser similar to -yacc. -ilu-javadev. Development -header and libraries for the Inter-Language Unification System. - - - -I've installed the latest jde package...what I have to do to let Emacs enter jde-mode automatically when loading a Java source file? -

As explained in /usr/doc/jde/README.Debian, all that -is required is putting - - (require 'jde) - -into your ~/.emacs file. -

Note that other add-on packages to Emacs are not enabled by default -either, e.g., AucTeX. - -Debian 2.0 'hamm' -

- -jdk 1.1.5v5 - - -Debian 1.3.1 'bo' -

- -jdk 1.0.2 - - -- cgit v1.2.3