Re: Run Tomcat without JDK
Yes you can include just the tools.jar from the JSDK with your JRE. At least that is what I do, and it works. This is from the JRE Readme.txt: --- Redistribution of Java 2 SDK Files --- The limited set of files from the SDK listed below may be included in vendor redistributions of the Java 2 Runtime Environment. All paths are relative to the top-level directory of the SDK. - The javac bytecode compiler, consisting of the following files: bin/javac [Solaris(TM) Operating Environment and Linux] bin/sparcv9/javac [Solaris Operating Environment (SPARC(TM) Platform Edition)] bin/javac.exe [Microsoft Windows] lib/tools.jar [All platforms] news [EMAIL PROTECTED] wrote on 05.12.2002 07:48:16: I've never tried it myself, but in theory you should be able to run Tomcat (any version) with just the JSE if all of your JSP files have been pre-compiled. Billy Ng [EMAIL PROTECTED] wrote in message 004301c29bda$cffa2c10$[EMAIL PROTECTED]">news:004301c29bda$cffa2c10$[EMAIL PROTECTED]... I am using Tomcat 4. Let's assume all jsp files have been pre-compiled. Can I get away from the JDK? The problem I see is tomcat needs some other filesd in JAVA_HOME/bin directory other than JRE? Billy Ng - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December 04, 2002 1:06 PM Subject: RE: Run Tomcat without JDK Hi, You can probably get away with this if you don't have JSPs, or you use jspc (or something else) to pre-compile your JSPs. However, as long as tomcat requires the JDK you risk being unable to upgrade to future versions of tomcat. Yoav Shapira Millennium ChemInformatics -Original Message- From: Billy Ng [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 4:06 PM To: Tomcat Users List Subject: Run Tomcat without JDK Hi folks, We ship J2EE app to Windows box. Our installer will install the JDK and Tomcat to the box. However, some customers complained that they did not like to install the JDK. Is there a way to run the J2EE app on tomcat without the JDK? Can we maybe just include the JRE or tools.jar in the app instead of installing the entire JDK? Thanks! Billy Ng -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Run Tomcat without JDK
Are you using Tomcat 4? Tomcat 4's catalina.bat requires more 4 files in the java/bin directory to start. I don't think just include the tools.jar is good enough. Billy Ng - Original Message - From: Kristján Bjarni Guðmundsson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 05, 2002 1:54 AM Subject: Re: Run Tomcat without JDK Yes you can include just the tools.jar from the JSDK with your JRE. At least that is what I do, and it works. This is from the JRE Readme.txt: --- Redistribution of Java 2 SDK Files --- The limited set of files from the SDK listed below may be included in vendor redistributions of the Java 2 Runtime Environment. All paths are relative to the top-level directory of the SDK. - The javac bytecode compiler, consisting of the following files: bin/javac [Solaris(TM) Operating Environment and Linux] bin/sparcv9/javac [Solaris Operating Environment (SPARC(TM) Platform Edition)] bin/javac.exe [Microsoft Windows] lib/tools.jar [All platforms] news [EMAIL PROTECTED] wrote on 05.12.2002 07:48:16: I've never tried it myself, but in theory you should be able to run Tomcat (any version) with just the JSE if all of your JSP files have been pre-compiled. Billy Ng [EMAIL PROTECTED] wrote in message 004301c29bda$cffa2c10$[EMAIL PROTECTED]">news:004301c29bda$cffa2c10$[EMAIL PROTECTED]... I am using Tomcat 4. Let's assume all jsp files have been pre-compiled. Can I get away from the JDK? The problem I see is tomcat needs some other filesd in JAVA_HOME/bin directory other than JRE? Billy Ng - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December 04, 2002 1:06 PM Subject: RE: Run Tomcat without JDK Hi, You can probably get away with this if you don't have JSPs, or you use jspc (or something else) to pre-compile your JSPs. However, as long as tomcat requires the JDK you risk being unable to upgrade to future versions of tomcat. Yoav Shapira Millennium ChemInformatics -Original Message- From: Billy Ng [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 4:06 PM To: Tomcat Users List Subject: Run Tomcat without JDK Hi folks, We ship J2EE app to Windows box. Our installer will install the JDK and Tomcat to the box. However, some customers complained that they did not like to install the JDK. Is there a way to run the J2EE app on tomcat without the JDK? Can we maybe just include the JRE or tools.jar in the app instead of installing the entire JDK? Thanks! Billy Ng -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Run Tomcat without JDK
Well I am using a custom exe launcher for Tomcat so I am not using catalina.bat But I think you can just comment out the checks for JDB.EXE JAVAC.EXE in setclasspath.bat since I can't see that they are needed when running tomcat normally. Billy Ng [EMAIL PROTECTED] wrote on 05.12.2002 17:24:18: Are you using Tomcat 4? Tomcat 4's catalina.bat requires more 4 files in the java/bin directory to start. I don't think just include the tools.jar is good enough. Billy Ng - Original Message - From: Kristján Bjarni Guðmundsson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 05, 2002 1:54 AM Subject: Re: Run Tomcat without JDK Yes you can include just the tools.jar from the JSDK with your JRE. At least that is what I do, and it works. This is from the JRE Readme.txt: --- Redistribution of Java 2 SDK Files --- The limited set of files from the SDK listed below may be included in vendor redistributions of the Java 2 Runtime Environment. All paths are relative to the top-level directory of the SDK. - The javac bytecode compiler, consisting of the following files: bin/javac [Solaris(TM) Operating Environment and Linux] bin/sparcv9/javac [Solaris Operating Environment (SPARC(TM) Platform Edition)] bin/javac.exe [Microsoft Windows] lib/tools.jar [All platforms] news [EMAIL PROTECTED] wrote on 05.12.2002 07:48:16: I've never tried it myself, but in theory you should be able to run Tomcat (any version) with just the JSE if all of your JSP files have been pre-compiled. Billy Ng [EMAIL PROTECTED] wrote in message 004301c29bda$cffa2c10$[EMAIL PROTECTED]">news:004301c29bda$cffa2c10$[EMAIL PROTECTED]... I am using Tomcat 4. Let's assume all jsp files have been pre-compiled. Can I get away from the JDK? The problem I see is tomcat needs some other filesd in JAVA_HOME/bin directory other than JRE? Billy Ng - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December 04, 2002 1:06 PM Subject: RE: Run Tomcat without JDK Hi, You can probably get away with this if you don't have JSPs, or you use jspc (or something else) to pre-compile your JSPs. However, as long as tomcat requires the JDK you risk being unable to upgrade to future versions of tomcat. Yoav Shapira Millennium ChemInformatics -Original Message- From: Billy Ng [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 4:06 PM To: Tomcat Users List Subject: Run Tomcat without JDK Hi folks, We ship J2EE app to Windows box. Our installer will install the JDK and Tomcat to the box. However, some customers complained that they did not like to install the JDK. Is there a way to run the J2EE app on tomcat without the JDK? Can we maybe just include the JRE or tools.jar in the app instead of installing the entire JDK? Thanks! Billy Ng -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Run Tomcat without JDK
From: Billy Ng [EMAIL PROTECTED] Sent: Thursday, December 05, 2002 9:24 AM Are you using Tomcat 4? Tomcat 4's catalina.bat requires more 4 files in the java/bin directory to start. I don't think just include the tools.jar is good enough. Then fix it. It never ceases to amaze me how people feel that these files some how must be inviolate. Let's think the hard questions...WHY does Tomcat needs these files? Is any of this functionality required by YOUR use of Tomcat? No?? Then bu-bye! Chant this 3 times: We have the source code! We have the source code! We have the source code! It's not art. It's not there only for display. If it doesn't do something that you want, find out why and FIX IT. If you're charitable, you'll send the fixes back. For example, perhaps someone could create a 'catalina-jre.bat' that only runs with the JRE? OMG! Certainly Tomcat is a large, complex piece of software but that's no excuse for not probing a LITTLE BIT at the soft edges to gain an understanding of why things are done the way they are. It may be a black box, but that box has holes in it, and is, in fact, able to be completely disassembled as far as you like. Shine lights into the holes, tear complete subsystems apart. Odds are very high that you do not need to understand Tomcat as a whole to coerce it to do whatever specific thing that it lacks for your application. So, coerce away. Regards, Will Hartung ([EMAIL PROTECTED]) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Run Tomcat without JDK
All depends on how smart is your installer. We just tell the installer to install JDK, Tomcat(the exe version), and copy the war file to the webapps. Billy Ng - Original Message - From: maninder s batth [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, December 05, 2002 6:28 AM Subject: Re: Run Tomcat without JDK Could you please share your install strategy. i will be shipping tomcat and jdk app soon,so i am looking for easy to configure installers. if any one has views on shipping an installable version of tomcat app, please free to post your views. thanks. Billy Ng wrote: Hi folks, We ship J2EE app to Windows box. Our installer will install the JDK and Tomcat to the box. However, some customers complained that they did not like to install the JDK. Is there a way to run the J2EE app on tomcat without the JDK? Can we maybe just include the JRE or tools.jar in the app instead of installing the entire JDK? Thanks! Billy Ng -- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Run Tomcat without JDK
Hi, You can probably get away with this if you don't have JSPs, or you use jspc (or something else) to pre-compile your JSPs. However, as long as tomcat requires the JDK you risk being unable to upgrade to future versions of tomcat. Yoav Shapira Millennium ChemInformatics -Original Message- From: Billy Ng [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 4:06 PM To: Tomcat Users List Subject: Run Tomcat without JDK Hi folks, We ship J2EE app to Windows box. Our installer will install the JDK and Tomcat to the box. However, some customers complained that they did not like to install the JDK. Is there a way to run the J2EE app on tomcat without the JDK? Can we maybe just include the JRE or tools.jar in the app instead of installing the entire JDK? Thanks! Billy Ng -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Run Tomcat without JDK
I am using Tomcat 4. Let's assume all jsp files have been pre-compiled. Can I get away from the JDK? The problem I see is tomcat needs some other filesd in JAVA_HOME/bin directory other than JRE? Billy Ng - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December 04, 2002 1:06 PM Subject: RE: Run Tomcat without JDK Hi, You can probably get away with this if you don't have JSPs, or you use jspc (or something else) to pre-compile your JSPs. However, as long as tomcat requires the JDK you risk being unable to upgrade to future versions of tomcat. Yoav Shapira Millennium ChemInformatics -Original Message- From: Billy Ng [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 4:06 PM To: Tomcat Users List Subject: Run Tomcat without JDK Hi folks, We ship J2EE app to Windows box. Our installer will install the JDK and Tomcat to the box. However, some customers complained that they did not like to install the JDK. Is there a way to run the J2EE app on tomcat without the JDK? Can we maybe just include the JRE or tools.jar in the app instead of installing the entire JDK? Thanks! Billy Ng -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Run Tomcat without JDK
I don't really see how they can raise a issue with this. Even if the use some other app server, all of them insist that you install a jdk first in order to use it. I can think of Sun One Application Server as a prime example of this, although it allows you to pick a existing installation of jdk. Billy Ng wrote: Hi folks, We ship J2EE app to Windows box. Our installer will install the JDK and Tomcat to the box. However, some customers complained that they did not like to install the JDK. Is there a way to run the J2EE app on tomcat without the JDK? Can we maybe just include the JRE or tools.jar in the app instead of installing the entire JDK? Thanks! Billy Ng -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Run Tomcat without JDK
I've never tried it myself, but in theory you should be able to run Tomcat (any version) with just the JSE if all of your JSP files have been pre-compiled. Billy Ng [EMAIL PROTECTED] wrote in message 004301c29bda$cffa2c10$[EMAIL PROTECTED]">news:004301c29bda$cffa2c10$[EMAIL PROTECTED]... I am using Tomcat 4. Let's assume all jsp files have been pre-compiled. Can I get away from the JDK? The problem I see is tomcat needs some other filesd in JAVA_HOME/bin directory other than JRE? Billy Ng - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December 04, 2002 1:06 PM Subject: RE: Run Tomcat without JDK Hi, You can probably get away with this if you don't have JSPs, or you use jspc (or something else) to pre-compile your JSPs. However, as long as tomcat requires the JDK you risk being unable to upgrade to future versions of tomcat. Yoav Shapira Millennium ChemInformatics -Original Message- From: Billy Ng [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 4:06 PM To: Tomcat Users List Subject: Run Tomcat without JDK Hi folks, We ship J2EE app to Windows box. Our installer will install the JDK and Tomcat to the box. However, some customers complained that they did not like to install the JDK. Is there a way to run the J2EE app on tomcat without the JDK? Can we maybe just include the JRE or tools.jar in the app instead of installing the entire JDK? Thanks! Billy Ng -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]