Simplify Makefile and use JAVA_HOME