"whether Apache support any proper form of Java. "
JavaScript is not a form of Java. BTW: Apache can't support JavaScript, because JavaScript is a client site language.
A Java Applet is also a client site technologie.
JavaServer Pages (and Servlets) is a server site technologie, and you need a webserver which supports JSP and Java Servlet technologies.
Apache HTTP Server (part of the XAMPP package) does not support this (without an extension). Apache Tomcat supports this (as a standalone webserver or as a module/extension for the Apache HTTP Server)