loadJavaClass takes a file handle instead of file

This way synthetic classes can be passed in