Fix #863: Cleanup Javalib

This commit comments all methods in the Javalib which throw a not
implemented exception. This allows the linker to detect usage of such
a method, rather than having the program fail at runtime.