Re: [greenstone-devel] Can't start GLI

From John M Thompson
DateTue, 27 Jan 2004 14:06:51 +1300
Subject Re: [greenstone-devel] Can't start GLI
In-Reply-To (df1f5000-55f6a11-8223800-expms3-cites-uiuc-edu)
Hello Xiao

It looks like something odd has happened when java tried to parse the
GLI launching arguments. That "Warning: -gsdl not understood. Ignoring."
is from java not the GLI, and I would suspect that it is related to the
gigantic stack trace that followed it.

Could you please send me (don't send it to the developers list) a copy
of your file? You'll have to zip it or change its extension to be
non-executable. I'll have a look to make sure the file isn't corrupted
somehow. Could you also tell me what companies JVM you are using - run:

java -version

It should be the last line of text and will be something like "Java
HotSpot(TM)" or perhaps "MSJVM".

I also have this horrible feeling - which I've gained from reading some
web sites about similar problems with the latest java - that JRE1.4.2 or
later doesn't always like programs compiled with earlier javas. To check
this you can try recompiling the GLI. In the GLI installation folder you
should find a script called and another called Run
clean to remove the old class files, then run makegli to recompile.


John Thompson

Greenstone Project, New Zealand Digital Library,
University of Waikato,
New Zealand wrote:

>I am trying to use GLI, but failed in starting it. Would anyone kindly give me any hint on how to make GLI work?
>my Greenstone version: 2.41
>Linux: Red Hat Linux release 9 (Shrike)
>I installed Greenstone binaries. I run "" Here is the errors:
>Checking GSDL: /home/LIS450DL/gsdl
>Your environment has successfully been set up to run Greenstone
>Checking Perl: /usr/bin/perl
>Checking Java: /home/LIS450DL/J2RE/j2re1.4.2_03/bin/java
>Running the Greenstone Librarian Interface...
>Warning: -gsdl not understood. Ignoring.
>Exception in thread "main" java.lang.InternalError: Unexpected exception while defining class org.greenstone.gatherer.file.FileAssociationManager: java.lang.ClassNotFoundException: javax.swing.table.AbstractTableModel
> at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./
> at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./
> at 0x402691fa: java.lang.VirtualMachineError.VirtualMachineError(java.lang.String) (/usr/lib/./
> at 0x4025d62e: java.lang.InternalError.InternalError(java.lang.String) (/usr/lib/./
> at 0x4025ac2f: java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, (/usr/lib/./
> at 0x4025aa13: java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int) (/usr/lib/./
> at 0x402f1f2e: (/usr/lib/./
> at 0x40248197: gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/./
> at 0x4025a904: java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/./
> at 0x4024889c: _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/./
> at 0x40244cdd: java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/./
> at 0x4023b4cf: _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/./
> at 0x40231857: _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/./
> at 0x40229ae4: _Jv_PrepareClass(java.lang.Class) (/usr/lib/./
> at 0x40248028: java.lang.ClassLoader.linkClass0(java.lang.Class) (/usr/lib/./
> at 0x4025acb3: java.lang.ClassLoader.resolveClass0(java.lang.Class) (/usr/lib/./
> at 0x4024646c: java.lang.Class.initializeClass() (/usr/lib/./
> at 0x40244d04: java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/./
> at 0x40244d9f: java.lang.Class.forName(java.lang.String) (/usr/lib/./
> at 0x402ad01d: (/usr/lib/./
> at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./
> at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/./
> at 0x08048910: ?? (??:0)
> at 0x42015574: __libc_start_main (/lib/tls/
> at 0x080486c1: ?? (??:0)
>Thank you very much!
>greenstone-devel mailing list