This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ Compile HSQLDB Problem.
- From: Andrew Haley <aph at redhat dot com>
- To: Taufik Chowi <m4g1c14n2000 at yahoo dot com>
- Cc: java at gcc dot gnu dot org
- Date: Thu, 11 Sep 2008 13:24:36 +0100
- Subject: Re: GCJ Compile HSQLDB Problem.
- References: <498354.13068.qm@web54603.mail.re2.yahoo.com>
Taufik Chowi wrote:
> to run this well in with java, you have to download HSQLDB 1.7.2.11 http://downloads.sourceforge.net/hsqldb/hsqldb_1_7_2_11.zip?modtime=1103945242&big_mirror=0
> if you have downloaded the file, you need to extract them, and at lib folders, you can find servlet.jar and hsqldb.jar , put it in your jre/lib/ext folder
>
> the code above run with no problem with JVM and Excelsior JET
Works for me:
zebedee:~ $ gcj Test_HSQLDB.java --main=Test_HSQLDB -findirect-dispatch /usr/share/java/hsqldb.jar
zebedee:~ $ ./a.out
name = Gandhi
job = politics
name = Turing
job = computers
name = Wittgenstein
job = smartypants
zebedee:~ $ gcj --version
gcj (GCC) 4.1.2 20070626 (Red Hat 4.1.2-13)
zebedee:~ $ rpm -qf /usr/share/java/hsqldb.jar
hsqldb-1.8.0.4-3jpp.4
Andrew.