Hi -
If you're using OpenJDK or SunJDK, there are multiple remote debugging tools available, starting the "jdb".
If you're using Gnu Java, on the other hand ... I would strongly encourage you to move away from GJC and use OpenJDK or SunJDK instead. One reason is "better portability". The biggest reason is that using OpenJDK or SunJDK allow you to take fullest advantage of the vast "Java ecosystem" out there.
Nevertheless, if you're using Gnu Java, then you should be able to do remote debugging via GDB:
http://gcc.gnu.org/java/gdb.html
http://sourceware.org/gdb/current/on...Debugging.html