need to find where the java compiler is to set JAVA_HOME, not just java, which could come also come from the JRE, which seems to be getting installed now? If javac is not available in JAVA_HOME the servlet will fail to compile when you access it for the first time via the Web.