On Tuesday 24 August 1999, at 14 h 8, the keyboard of weidner@ifi.unizh.ch (Harald Weidner) wrote: > weidner@sinus1 ~/devel/java$ gcj --main=hello -o hello hello.java > /usr/bin/ld: cannot open -lz: No such file or directory OK, you compile to native code. I compiled only to Java code. Hence the difference.