My personal experience with this kind of problem is as follows (with Java 1.5): The Java installer installs the JRE twice, once by itself and once underneath the JDK. When the Tomcat (version 5.5) installer asks you which one to use, you should choose the second one (underneath the JDK).
Explanation (best guesses not sure knowledge).
Tomcat considers his java home to be the directory given as JRE during the install (not the JAVA_HOME environment variable). Starting from this directory, tools.jar is found as ../lib/tools.jar in the JDK directory.
This works only for the second and not for the first JRE choice.

Regards

Franz

Alexandr Khlystov schrieb:
OS: Windows 2003 Server

when opening URL: http://localhost:8080/axis/happyaxis.jsp

I get

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
        at 
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapte
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:969)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:799)
        at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:320)


but

JAVA_HOME=C:\j2sdk1.4.2_04
CLASSPATH=C:\j2sdk1.4.2_04\lib\tools.jar;C:\j2sdk1.4.2_04\jre\lib\rt.jar;C:\j2sdk1.4.2_04\jre\lib


can anybody please help me what is going on ?

begin:vcard
fn:Dr. Franz Fehringer
n:Fehringer;Franz
org:ISO Software Systeme
adr;quoted-printable:;;Eichendorffstrasse 29;N=C3=BCrnberg;;90491;Deutschland
email;internet:mailto:[EMAIL PROTECTED]
tel;work:+49/(911) - 99594-0 
tel;fax:+49/(911) - 99594-580
x-mozilla-html:TRUE
url:http://www.isogmbh.de/
version:2.1
end:vcard

Reply via email to