Fix even more problems with compiling java.
Fix even more problems with compiling java.

michaelx11/nextcodejudge,michaelx11/nextcodejudge,michaelx11/nextcodejudge,michaelx11/nextcodejudge,michaelx11/nextcodejudge,michaelx11/nextcodejudge,michaelx11/nextcodejudge,michaelx11/nextcodejudge,michaelx11/nextcodejudge,michaelx11/nextcodejudge,michaelx11/nextcodejudge,michaelx11/nextcodejudge,michaelx11/nextcodejudge