I have installed tomcat 5.5.9 and I have set my JAVA_HOME variable to point to jre. Now if i start tomcat it says java_home must point to JDK rather than JRE. My problem is I can only bundle JRE with my applicaiton. Does any one know how to start tomcat with only JRE ?
tomcat 4.x used to work fine with only JRE then why tomcat 5.x is giving problems?
I'm asking because I know that Tomcat 5.5x ships with it's own compiler. This makes it the first version that can compile JSPs without requiring a full external JDK. I also know that the Windows installer that that ships with the .exe version had been modified accordingly.
The Unix wrapper scripts allow you to set a JRE_HOME if you are running without a full JDK but to the best of my knowlege the windows batch scripts haven't been updated.