This page lists which programs are known to work well with the various compiler and runtimes based on GNU Classpath, and which ones are known to have problems. It is really useful to have a list of benchmarks for both testing, regression, and paper-writing purposes. Only list Free Software programs. Provide an URL to the source (archive), how to compile them and what tricks/workarounds were used so other developers can use these programs for regression and smoke testing new versions.
When adding new entries please use the template at the bottom.
Index
Contents
Programs known to work well
Apache Ant
- Description: Ant is a Java-based build tool.
- Version: 1.6.2
Source archive: http://apache.engram.de/apache.org/ant/source/apache-ant-1.6.2-src.tar.bz2
- Tested against: JamVM 1.3.0+GNU Classpath 0.14
- Compilation instructions: unknown
- Workarounds needed: unknown
- Run/Test with:
Unfortunately the known wrapper scripts will not work because they are tied to proprietary Java. The following command line runs Ant with JamVM and uses GCJ as the default compiler:
jamvm -classpath /usr/share/ant-core/lib/ant-launcher.jar -Dant.home=/usr/share/ant-core -Dbuild.compiler=gcj org.apache.tools.ant.launch.LauncherWhen using the Jikes compiler you have to explicitly add GNU Classpath's glibj.zip (or comparable archive/directory) to the classpath using the special property jikes.class.path:
jamvm -classpath /usr/share/ant-core/lib/ant-launcher.jar -Dant.home=/usr/share/ant-core -Dbuild.compiler=jikes -Djikes.class.path=/usr/share/classpath/glibj.zip org.apache.tools.ant.launch.Launcher
Checkstyle
- Description: Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard.
- Version: 4.1
Source archive: http://checkstyle.sourceforge.net/index.html
- Tested against: JamVM 1.4.1, GNU Classpath CVS (19-Dec-2005)
- Compilation instructions: Used prebuilt jar file
- Workarounds needed: None.
Run/Test with: I followed the commandline instructions given on the Checkstyle web page, and ran some checks for JFreeChart (see checkstyle/style.xml in the JFreeChart distribution for the rules used).
- (Test) results: Output matched that produced using Sun's JDK, apart from the ordering of a few items.
JUnit
- Description: A CPL unit testing framework (Note: Freenet contains a GPL-compatible implementation).
- Version: unknown
Source archive: http://prdownloads.sourceforge.net/junit/
- Tested against: JamVM 1.3.3/GNU Classpath 0.18+CVS/unknown compiler
- Workarounds needed: None.
- Run/Test with: unknown
- (Test) results: unknown
GLJava
- Description: JNI Binding to OpenGL 1.1
- Version: no official release yet (bundled with SDLJava)
Source archive: http://gljava.sourceforge.net
- Tested against: JamVM 1.2.5, GCJ4.0 (native+interpreted)
- Compilation instructions: see source archive
- Workarounds needed: none
- Run/Test with: unknown
- (Test) results: unknown
PircBot
- Description: The most popular Java IRC API
- Version: 1.1.4
Source archive: http://www.jibble.org/files/pircbot-1.4.4.zip
- Tested against: GNU Classpath 0.14
- Compilation instructions: See the source archive.
- Workarounds needed: none
- Run/Test with: unkown
- (Test) results: unknown
SableCC
- Description: An LGPL compiler compiler for LALR(1) grammars
- Version: unknown
Source archive: http://sablecc.org/downloads.html
- Tested against: many/unknown
- Compilation instructions: unknown
- Workarounds needed: Probably none needed
- Run/Test with: unknown
- (Test) results: unknown
SDLJava
Description: JNI Binding to SDL
- Version: 0.91
Source archive: http://sdljava.sourceforge.net
- Tested against: JamVM 1.2.5, GCJ4.0 (native+interpreted)
- Compilation instructions: see source archive
- Workarounds needed: none
- Run/Test with: unknown
- (Test) results: unknown
Soot
- Description: An LGPL Java bytecode compiler framework, this is a large program.
- Version: unknown
Source archive: http://www.sable.mcgill.ca/soot/
- Tested against: many/unknown
- Compilation instructions: unkown
- Workarounds needed: there may be problems with recent versions, needs verification
- Run/Test with: unknown
- (Test) results: unknown
Programs with known problems
Eclipse
- Description: Popular and versatile IDE
- Version: 3.1m5
Source archive: http://www.eclipse.org
- Tested against: JamVM 1.2.5/GNU Classpath, GCC4.0 (20050312 snapshot)
- Compilation instructions: unknown
- Workarounds needed:
- If you are using GCJ run eclipse with the following command:
./eclipse -consoleLog -debug -vm jamvm -vmargs -Dosgi.locking=none
For JamVM use:PATH=.:${PATH} ./eclipse -consoleLog -debug -vm jamvm -vmargs -Dosgi.locking=none -mx256m(It prevents a problem where startup.jar can not be found and a OutOfMemoryError is thrown.)
Note: On Gentoo GNU/Linux the executable will be eclipse-<TK> where <TK> is gtk or motif.
- If you are using GCJ run eclipse with the following command:
- Run/Test with: See above/Unknown
- (Test) results: unknown.
BeanShell
- Description: Console-based interpreter mode (bsh.Interpreter) works fine.
- Version: 2.0b2
Source archive: http://beanshell.org/bsh-2.0b2-src.jar
- Tested against: GNU Classpath 0.12/JamVM 1.2.1/SableVM 1.0.8/Unknown compiler, GCJ4 (native+interpreted)
Workarounds needed: Avoid starting with bsh.Console and do not use the class bsh.util.JConsole. Rely on bsh.Interpreter and bsh.util.AWTConsole instead.
- Run/Test with: unknown
- (Test) results: unknown
Other overviews
Some other overviews of free programs made to work with GNU Classpath based development environments.
