[greenstone-users] problem with GLI in 2.60

From Garrison, Scott
DateWed, 27 Apr 2005 14:33:38 -0400
Subject [greenstone-users] problem with GLI in 2.60
I've looked through the list archives, and didn't find anything on this particular problem.

I first tried installing Greenstone 2.53 on Fedora Core 3 about a month ago. Install.sh went smoothly, so I moved on to trying to run GLI. When I ran gli.sh, I got the following:

<output starts>
[root@erroll gli]# ./gli.sh

Greenstone Librarian Interface (GLI)
Copyright (C) 2005, New Zealand Digital Library Project, University Of Waikato
GLI comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt
This is free software, and you are welcome to redistribute it

Checking GSDL: /var/www/html/gsdl
Your environment has successfully been set up to run Greenstone
Checking Perl: /usr/bin/perl
Checking Java: /usr/bin/java

Running the Greenstone Librarian Interface...
libgcj-java-placeholder.sh

This script is a placeholder for the /usr/bin/java
master link required by jpackage.org conventions. libgcj's
rmiregistry, rmic and jar tools are now slave symlinks to these
masters, and are managed by the alternatives(8) system.

This change was necessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage.org JVM packages.
Exception in thread "main" java.lang.NoSuchMethodError: method javax.swing.text.JTextComponent.getKeymap was not found.
at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at org.greenstone.gatherer.Gatherer.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at org.greenstone.gatherer.GathererProg.main(java.lang.String[]) (Unknown Source)
Done!
[root@erroll gli]#
<output ends>

I was under the impression that I'd see a nifty Java applet appear, but I didn't. I assumed that it had something to do with the 'Exception...' part of the above. Upon digging further, I read in the FAQ that I'd need the JSDK and JRE. I installed those things, then ran Uninstall.sh. Then I noticed that G 2.60 had been released, so I grabbed it and tried installing it.

As with 2.53, 2.60's Install.sh went along nicely, but I'm still getting the above error (and no apparent GLI launch) when I run gli.sh.

Could someone tell me whether I've missed one or more necessary steps, or what I should be seeing when I run gli.sh? I've downloaded Greenstone for Windows and Mac OS also, and so will try each of them and see if I get the same problem as well.

Thanks,

--SG

Scott Garrison
Central Michigan University
garri2s@cmich.edu