Tomcat, Eclipse, and Ant

Tom Tromey tromey@redhat.com
Tue May 17 12:34:00 GMT 2005


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /