Compile java before ruby