Re: GCJ Compile HSQLDB Problem.

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.