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]>
>