This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCJ Compile HSQLDB Problem.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]