This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
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.