Hello, I don't know if anybody else has run into this, but it appears that ecj-gcj is broken (at least for me).
/usr/bin/javac -> /etc/alternatives/javac /etc/alternatives/javac -> /usr/lib/jvm/java-gcj/bin/javac /usr/lib/jvm/java-gcj/bin/javac -> /usr/bin/ecj JAVA_HOME is unset. [snip] [EMAIL PROTECTED]:/ext/java$ sh -x /usr/bin/ecj Hello.java + case "$*" in + '[' '!' -f /usr/lib/jvm/java-gcj/jre/lib/rt.jar ']' + '[' -x /usr/bin/ecj-gcj ']' + exec /usr/bin/ecj-gcj Hello.java ---------- 1. ERROR in Hello.java (at line 1) class Hello { ^ The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files [/snip] Where /usr/lib/jvm/java-gcj/jre/lib/rt.jar -> ../../../../../share/java/libgcj-4.2.jar. But the following works: [snip] [EMAIL PROTECTED]:/ext/java$ sh -x /usr/bin/ecj -bootclasspath /usr/share/java/libgcj-4.2.jar Hello.java + case "$*" in + '[' -x /usr/bin/ecj-gcj ']' + exec /usr/bin/ecj-gcj -bootclasspath /usr/share/java/libgcj.jar Hello.java [/snip] Anybody have any ideas why the default bootstrap jar isn't getting loaded when no -bootclasspath argument is passed? Thanks. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.22-3-vserver-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ecj-gcj depends on: ii ecj 3.3.0+0728-8 standalone version of the Eclipse ii ecj-gcj [libecj-java-g 3.3.0+0728-8 standalone version of the Eclipse ii libc6 2.7-10 GNU C Library: Shared libraries ii libecj-java-gcj 3.3.0+0728-8 Eclipse Java compiler (native libr ii libgcc1 1:4.2.2-4 GCC support library ii libgcj-bc 4.3-1 Link time only library for use wit ii libgcj9-0 4.3.0-1 Java runtime library for use with ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime Versions of packages ecj-gcj recommends: ii java-gcj-compat 1.0.76-5 Java runtime environment using GIJ -- no debconf information -- Anuradha Weeraman http://www.linux.lk/~anu/ http://anuradha.wordpress.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]