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

From sw64@cs.waikato.ac.nz
DateMon, 12 Mar 2007 16:47:53 +1300 (NZDT)
Subject Re: [greenstone-users] Problem with Ubuntu Linux and GTK
In-Reply-To (008401c76367$dc30b770$6501a8c0-hmg2006Dec)
Hello Henry,

It seemed your system doesn't use the standard java. You can get one from
the sun's web site http://java.sun.com/javase/downloads/index_jdk5.jsp.
It'll also solve your previous problem of not being able to install
Greenstone3.

Regards
Shaoqun

> 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. I 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.
> http://home.pacbell.net/hgladney/ <http://home.pacbell.net/hgladney/>
>
> ====================
> gladney@hmglinux:/gsdl/gli$ ./gli.sh
>
> 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:
> gnu.java.awt.peer.gtk.GtkToolkit
>
> at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7)
>
> at java.awt.Font.tk(libgcj.so.7)
>
> at java.awt.Font.getPeerFromToolkit(libgcj.so.7)
>
> at java.awt.Font.<init>(libgcj.so.7)
>
> at javax.swing.plaf.FontUIResource.<init>(libgcj.so.7)
>
> at javax.swing.plaf.metal.DefaultMetalTheme.<clinit>(libgcj.so.7)
>
> at java.lang.Class.initializeClass(libgcj.so.7)
>
> at javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(libgcj.so.7)
>
> at javax.swing.plaf.metal.MetalLookAndFeel.<init>(libgcj.so.7)
>
> at javax.swing.UIManager.<clinit>(libgcj.so.7)
>
> at java.lang.Class.initializeClass(libgcj.so.7)
>
> at org.greenstone.gatherer.GathererProg.main(GathererProg.java:52)
>
> Caused by: java.lang.ClassNotFoundException:
> gnu.java.awt.peer.gtk.GtkToolkit
>
> at java.lang.Class.forName(libgcj.so.7)
>
> at java.lang.Class.forName(libgcj.so.7)
> at java.awt.Toolkit.getDefaultToolkit(libgcj.so.7)
>
> ...11 more
>
> Done!
>
>
>
> --
> Best wishes, Henry
>
> H.M. Gladney, Ph.D. http://home.pacbell.net/hgladney/
> <http://home.pacbell.net/hgladney/>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>