-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Broken,

broken connection wrote:
> My installer is totally ant-based

Heh. How are you running ant if you don't know where the JRE is located?
I'm guessing that the JRE is already on the PATH so you might be
good-to-go already.

> and it does not have the capability to
> search the registry and locate the entries...

If you are desperate, you could write a plug-in for ant and then use it
to obtain registry values. There's nothing stopping you from reading
registry values from Java.

> instead if you could tell me
> which location in the Tomcat points to this JRE, I could over-write that
> value instead...i think that would be much easier.

startup.bat and friends will use the PATH environment variable to locate
java.exe (or javaw.exe) if necessary. You can also set JAVA_HOME if you
want. JAVA_HOME should point to the directory containing the "bin"
directory which contains java.exe and javaw.exe.

Check out CATALINA.BAT in the "bin" directory of your Tomcat
installation. It contains comments at the top which explain all the
different environment variables that you can use to affect Tomcat.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGnkKX9CaO5/Lv0PARAnEaAKCoqJHBYFVBn9ekFoecNIkIyXXM8QCgmrPR
nbpHw3BUhWtOL6ga2pvX0LU=
=pTP5
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to