tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Kewl" <>
Subject Re: JVM config for tomcat5.5
Date Sun, 21 Sep 2008 07:21:40 GMT

----- Original Message ----- 
From: "Jon Camilleri" <>
To: <>
Cc: "'Tomcat Users List'" <>
Sent: Sunday, September 21, 2008 7:51 AM
Subject: RE: JVM config for tomcat5.5

> Tomcat requires Java (at least SDK; but JDK won't harm) to be installed. 
> On
> my machine I usually set:
> JAVA_HOME to the installation path for jdk/sdk e.g. /usr/java/jdk1.6.0_07
> CATALINA_HOME to the installation path for /usr/apache-tomcat-6.0.16.
> Hope this helps.
> -----Original Message-----
> From: jaki []
> Sent: 20 September 2008 08:55
> To:
> Subject: JVM config for tomcat5.5
> Hi,
> I wanted to know where java_home is set for Tomcat when it's installed as 
> a
> service since I can't find any .bat/.sh files in my tomcat folder. Thanks
> -- 
> View this message in context:
> Sent from the Tomcat - User mailing list archive at

Tomcat guys... please pack the the TC.EXE installer with all the script 
files as well...
Windows users do eventually want them...

Its a good question....

JAVA_HOME is only used when you run TC from a bat...

On linux it is probably also used by the service.... but every linux will do 
its own thing, so you need to ask the dist guys...
But on Windows.... you run TomcatW.exe... you get a nice GUI, you click on 
the JAVA tab, and thats where you set stuff...
Notice that it doesnt use JAVA it uses the java C portal called JVM.DLL.....
Thats how you do it...

And then in Netbeans.... the JRE used is neither of the above, its uses the 
JRE that you have set on the platform for you projects....

It actually makes it very easy... and its nice being able to start it from 
script on one JRE, from the service on another JRE, and from NB on any JRE 
you want.

And you have to... because you may use templates in your servlets... and all 
is well, but flip the JRE to a lower version, and you get nailed.

... these TC guys are pretty clever dudes ;)

The most powerful application server on earth.
The only real POJO Application Server.
See it in Action :

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message