Re: [greenstone-users] Problem with Ubuntu Linux and GTK

From Michael Dewsnip
DateMon, 12 Mar 2007 17:19:09 +1300
Subject Re: [greenstone-users] Problem with Ubuntu Linux and GTK
In-Reply-To (008401c76367$dc30b770$6501a8c0-hmg2006Dec)

It looks like you're using the GNU Java Runtime, which isn't yet completely compatible with the Sun Java Runtime and won't run the Greenstone Librarian Interface. Installing the Sun Java Runtime (version 1.4.2 or newer) should fix your problem.



H.M. Gladney wrote:
Because of a run-time failure of the Greenstone Librarian, as indicated by the attached console file, I am unable to run the Greenstone Librarian interface  under my chosen Linux distribution (Ubuntu Linux).  

I have been rooting around the WWW to see whether I can find a reported fix for this problem.   There are many websites discussing the problem, which seens to be related to a distinction between a 32-bit and a 64-bit version of failing software.   However deciding which of this information is pertinent and how to use it is beyond me.  also looked  for an Ubuntu list dealing with it--an appropriate place to persuade some Ubuntu guru to identify or provide a fix, but found nothing helpful.

Please suggest how I might efficiently proceed.

Best wishes, Henry   H.M. Gladney, Ph.D.

gladney@hmglinux:/gsdl/gli$ ./

Greenstone Librarian Interface (GLI)

Copyright (C) 2006, 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: /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...

Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit:

at java.awt.Toolkit.getDefaultToolkit(


at java.awt.Font.getPeerFromToolkit(

at java.awt.Font.<init>(

at javax.swing.plaf.FontUIResource.<init>(

at javax.swing.plaf.metal.DefaultMetalTheme.<clinit>(

at java.lang.Class.initializeClass(

at javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(

at javax.swing.plaf.metal.MetalLookAndFeel.<init>(

at javax.swing.UIManager.<clinit>(

at java.lang.Class.initializeClass(

at org.greenstone.gatherer.GathererProg.main(

Caused by: java.lang.ClassNotFoundException:

at java.lang.Class.forName(

at java.lang.Class.forName(
at java.awt.Toolkit.getDefaultToolkit(

...11 more


Best wishes, Henry

H.M. Gladney, Ph.D.

_______________________________________________ greenstone-users mailing list