migrated Java compiler to new Main Compiler framework