On 13/06/2022 10:48, Pavan Kumar Tiruvaipati wrote:
Hi,

Our application is running on Tomcat 6.0.45.


*Operation System* - Linux & Windows

Due to security reasons, we are replacing JDK 1.8 with JRE 1.8.

As others have pointed out, your choice of Tomcat version is likely to be a larger security risk.

We understand that Tomcat is bundled with Eclipse JDT compiler -
ecj-4.3.1.jar.

It will take care of dynamic compilation of JSP pages (Correct me if I'm
wrong)

But It's unable to recompile JSP pages without JDK.


Does Tomcat 6.0.45 or any higher version require JDK to compile JSP pages ?

No.

I have just downloaded the tar.gz binary for 6.0.45 and tested it with Temurin JRE 1.8 332 build 09. Everything worked correctly. A JSP was compiled and the expected page displayed.

Please let us know if you need any more information.

A stack trace showing the failed compilation when using a JRE with the latest release of a currently supported version of Apache Tomcat. At the time of writing this email that would be one of:
8.5.81, 9.0.64, 10.0.22 or 10.1.0-M16

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to