This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Tomcat, Eclipse, and Ant
- From: Tom Tromey <tromey at redhat dot com>
- To: "John M. Gabriele" <john_sips_tea at yahoo dot com>
- Cc: java at gcc dot gnu dot org
- Date: 16 May 2005 15:59:06 -0600
- Subject: Re: Tomcat, Eclipse, and Ant
- References: <20050516020818.81315.qmail@web80902.mail.scd.yahoo.com>
- Reply-to: tromey at redhat dot com
>>>>> "John" == John M Gabriele <john_sips_tea@yahoo.com> writes:
John> Thank you! I just downloaded and built gcc 4.0.0 and
John> and happily building and running little Java test apps. :)
Glad to hear it.
John> Anyhow, I've got tomcat 5.5.9 sitting here in my ~/tomcat dir,
John> have set JAVA_HOME=/usr/local and
John> CATALINA_HOME=/home/me/tomcat/jakarta-tomcat-5.5.9 , but
John> catalina.sh is of course looking for /usr/local/bin/java instead of
John> /usr/local/bin/gij.
John> What's the usual procedure for getting tomcat running with gij,
John> or else building it with gcj?
In a case like this, where you have a local install, the usual
approach would be to hack the launcher scripts to point to your 'gij'.
If you want to be more ambitious you could also compile the jars,
following the approach here:
http://gcc.gnu.org/wiki/How%20to%20BC%20compile%20with%20GCJ
On a system like Fedora Core 4, there is a different usual approach,
which is to install the java-gcj-compat package. This sets up 'java'
and such to point to gij via the alternatives system; this is nice
because it means you don't have to hack launcher scripts any more.
Tom