In addition to Mike's good advice...
I found the "nojit" option useful to reduce the overhead of java
and javac when it comes to relatively small or short-lived programs
or compiles. It depends on your JDK version whether it is -nojit or
-Xnojit or -Djava.compiler=NONE or somesuch, but it can speed up a
javac compiler run considerably.
And, of course, you can always compile on a PC and make the compiler
place the .class files on a Samba share for execution on the 3000...
Your PC will typically have a few more Mhz than the 927 CPU has (and
the compile won't steal valuable CPU cycles from other hp3000 users).
Lars.