Something new by asking questions here, so bear with me. I recently had to install an XP VM to run a program that required the use of an Oracle 10g client. I am setting up my tomcat server, and when I went through the directory and launched the .jsp file, I got this error
2011-02-22 09:13:01,291 ERROR (org.apache.jasper.compiler.Compiler:394) - Javac exception
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
It is strange that I set the JAVA_HOME variable in my virtual machine to "C: \ Program Files \ Java \ jdk1.6.0_24;" and my PATH variable is '% JAVA_HOME% \ bin;'.
It says that the jasper-complier error ... I do not forget to add several TOMCAT_HOME variables to my path to the eclipse library, which examined the jasper compiler, jasper-runtime, jsp-api.jar and servlet-api.jar located in my tomcat server folder.
I also followed these instructions here which indicate to add jdk \ bin tools.jar to Eclipse Ant global runtime entries
Any help is appreciated, I'm at a standstill.
source
share