You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by chris brown <de...@reflexe.fr> on 2001/06/22 18:34:05 UTC
Problems using Jikes as compiler
I've successfully specified Jikes as the Java compiler for the "jsp" servlet
under Tomcat 3.2.2 with Windows NT. However, I can't get Tomcat to use
JIKESPATH instead of CLASSPATH when compiling, as the JspCompilerPlugin
supplied with Tomcat passes the "-classpath" param to Jikes, consequently
overriding JIKESPATH. As a result, Jikes no longer finds rt.jar, so it
can't compile anything (as it can't find java.lang.* ..!).
I've correctly setup the environment variables for normal use. So at
MS-DOS, I can type:
C:\classes> jikes Hello.java
However, if I type:
C:\classes> jikes -classpath . Hello.java
... it doesn't work, as JIKESPATH is overridden. Looking at "jasper.log", I
see that Tomcat takes the second option, so JIKESPATH isn't taken into
account. How can I get around this?
Thanks,
-Chris