Does Tomcat requires JAVA JDK installed? Can Tomcat run only with JRE? I have a customer who complains he has to install the JAVA JDK before making Tomcat running. Can I help him to easy install Tomcat? and how? pls. help me out. Thank you very much.
Yep, that's what jakarta says. Look in the RUNNING.txt file in the installed directory, or check out the jakarta.apache website, under Documentations / Getting Started / Install & Run.
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Hi Iydia, I too thinking abt that,as my customer is not interested in downloading JDK1.3(30MB),setting classpath blah blah.. I'm going to test whether Tomcat can run only with JRE,we need to set the JAVA_HOME,but where to point ?? If its get running,then all I'm thinking is to pack tomcat(only needed files) using Installanywhere along with JVM and distribute it like a Setup.exe or Setup.bin etc., Then the user have to just run the setupwizard.Just like we do for installing BEA Weblogic etc., I haven't tried it yet,will do it soon,if you can please reply. Regards Balaji
Originally posted by lydia westland: Does Tomcat requires JAVA JDK installed? Can Tomcat run only with JRE? I have a customer who ....
[ May 21, 2002: Message edited by: Balaji Loganathan ]
Hi Adam, It doesn't say anything abt JRE.Isn't it ??
Originally posted by Adam Hardy: Yep, that's what jakarta says. .. Adam
Joined: Feb 24, 2002
Thanks Balaji. I don't know how to fix JAVA_HOME environment variable either. Tomcat is a servlet container, which will interpret JSP to Servlet and compile the servelt when called first time. but JRE doesn't inclue compiler ... Actually in my project I am only using servlet. not sure if that works. would you like to keep my updated if you have some new findings? Thank you.
The best thing to test it by uninstalling JDK and testing it only using JRE,I will try to do it today. Regarding JDK1.4 & Tomcat,doesn't suit well.Frequectly I'm getting the error "Socket write exception",May due to Windows envt. Best partner is Jdk1.3 and Tomcat.
Hi Lydia and Bodie, I tested today running Tomcat 3.2 with JRE only.Thanks god its working fine.!!I uninstalled jdk from my machine,checked if there is any old file and deleted them.Then I installed JRE1.3,I setted JAVA_HOME to JRE root. The only exception is its execute only complied servlet and jsp,which is no good. I copied tools.jar from other jdk installed machine to lib directory of tomcat and restarted the Tomcat.Well Its works fine new and old Servelts/JSP.Its doesn't need JDK at all. Do anybody have exp on creating self executing installation files like .exe,.bin .sh. Like BEA is using Install anywhere and Sun is using Installsheid. My question is how they can able to create customized classpath settings for their application. Like in BEA just clicking startserver will set classpath and start running the server on fly.
Balaji, you made it work! so wonderful!!! as for your question, I know Tomcat use its own classpath. we can manually customize that. it's said the InstallShield and InstallAnywhere don't recommend user to set any environment variable. I am also trying figuring out a solution for this. :roll: Have a good weekend