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.


Dear Andrew,

Thanks a lot.

i tried the code on my linux server (OS Fedora) , and yes it works...
my development environment runs on Windows OS, and it didnt works...

i plan to buy JavaNativeCompiler (which run very well on windows and it used gcj 4.3 too), but it didnt work too
and i have tried compiling using your gcj command, the same thing happened , run time error occured , here is the error message
D:\gcc-4.3\bin>Test_HSQLDB.exe
Exception in thread "main" java.sql.SQLException: Software module not installed
   at org.hsqldb.jdbc.jdbcUtil.sqlException(Test_HSQLDB.exe)
   at org.hsqldb.jdbc.jdbcConnection.<init>(Test_HSQLDB.exe)
   at org.hsqldb.jdbcDriver.getConnection(Test_HSQLDB.exe)
   at java.sql.DriverManager.getConnection(Test_HSQLDB.exe)
   at java.sql.DriverManager.getConnection(Test_HSQLDB.exe)
   at Test_HSQLDB.main(Test_HSQLDB.exe)

i dont get it. the gcj i used for my windows pc is version 4.3 (better version) then my server's gcj version 4.0
used the same Test_HSQLDB.java and hsqldb.jar (exactly the same, i transfer all files from my windows to linux server)
used the same gcj command for compiling and yet, it didnt run in windows.

do you know what might caused this problem?



again thanks a lot, now i can finally see something that will work on my project :) 
and yeah let us forget the sqlite T.T (since we cant compile it)


Cheers and God Bless,

Chowi



      


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