>>>>> "Manosiz" == Manosiz Bhattacharyya <mano@cse.ucsc.edu> writes: Manosiz> I have also added LIBDIR to my LD_LIBRARY_PATH. I compile with the Manosiz> following line Manosiz> gcj --main=HelloWorld -o HelloWorld -lsocket -L$LIBDIR HelloWorld.java FYI you should need neither the -L nor the -lsocket. The current gcj/libgcj should handle this automatically. Tom