You have to add libgcj.jar to your classpath. On Debian it's normally found in /usr/share/java. --classpath=/usr/share/java/libgcj.jar /Daniel