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.
I propose not to put `???` placeholders, so spots where we actually use them will be easier to find.