Revert "Java classes"

This reverts commit d0e235deb3c3f7c0cef21f6eae48f60166c02451.