corect makefiles for jvm