Compile java classes through the toolchain