GCJ and JDBC
Andrew Haley
aph@redhat.com
Tue May 17 13:34:00 GMT 2005
Amir Bukhari writes:
> I have successfully compiled HSQLDB as part of my project (based on SWT). It
> run without problem in JVM. But when I run the executable I get
> SEGV. Here is the trace of the program:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x005480b7 in _Jv_CheckAccess(java::lang::Class*, java::lang::Class*, int)
> ()
> (gdb) backtrace 20
> #0Â 0x005480b7 in _Jv_CheckAccess(java::lang::Class*, java::lang::Class*,
> int)
> Â Â Â ()
> #1Â 0x0061ad18 in
> java::lang::reflect::Constructor::newInstance(JArray<java::la Â
> g::Object*>*) ()
This is very weird. It looks like your libgcj is perhaps missing
debug information -- you should be able to see some arguments for the
method newInstance.
This should work. Tell us more about how you installed gcj.
Andrew.
More information about the Java
mailing list