-
1. Re: Jikes compiler
garmany Jan 16, 2003 12:38 PM (in response to linda_d)I have got jikes almost working with the following entry in web.xml (I am using JBoss 3.0.4 w/ Tomcat 4.1.12 on Win2K w/ Jikes 1.14). However when I try to display a jsp, I get an error in the log telling me that jikes does not recognize the -encoding flag. I have read elsewhere that windows versions of jikes doesn't support -encoding. Is there any way around this?
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>compiler</param-name>
<param-value>jikes</param-value>
</init-param>
<init-param>
<param-name>classpath</param-name>
<param-value>(my jdk home)/jre/lib/rt.jar;(other stuff)</param-value>
</init-param>
<init-param>
<param-name>jspCompilerPath</param-name>
<param-value>(my jikes home)\bin\jikes.exe</param-value>
</init-param>
<init-param>
<param-name>jspCompilerPlugin</param-name>
<param-value>org.apache.jasper.compiler.JikesJavaCompiler</param-value>
</init-param>
<init-param>
<param-name>logVerbosityLevel</param-name>
<param-value>WARNING</param-value>
</init-param>
<load-on-startup>3</load-on-startup> -
2. Re: Jikes compiler
garmany Jan 16, 2003 12:48 PM (in response to linda_d)Sorry if this is a duplicate post, my first attempt seems to have gotten lost
I am running JBoss 3.0.4/Tomcat 4.1.12 on Win2K and using jikes 1.14. I have almost got jikes configured as my jsp compiler using the following servlet entry in web.xml, however when attempting to display a page, I get an error in the log saying that jikes doesn't recognize the -encoding flag. I have read elsewhere that the windows version of jikes doesn't support -encoding. Is there any way around this?
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>compiler</param-name>
<param-value>jikes</param-value>
</init-param>
<init-param>
<param-name>classpath</param-name>
<param-value>(my jdk home)/jre/lib/rt.jar;(other stuff)</param-value>
</init-param>
<init-param>
<param-name>jspCompilerPath</param-name>
<param-value>(my jikes home)\bin\jikes.exe</param-value>
</init-param>
<init-param>
<param-name>jspCompilerPlugin</param-name>
<param-value>org.apache.jasper.compiler.JikesJavaCompiler</param-value>
</init-param>
<init-param>
<param-name>logVerbosityLevel</param-name>
<param-value>WARNING</param-value>
</init-param>
<load-on-startup>3</load-on-startup>