Matthew R. MacIntyre writes: > Can someone explain why this doesn't work? gcj doesn't know where to look for DataNotReadyException. You should position your CLASSPATH environment variable or use the --CLASSPATH option to help it: gcj --CLASSPATH=src -c -o src/Hanoi.o src/Hanoi.java ./A