|Ack, you are correct, I was looking at another email at the same time
(GSDL List "greenstone,i can not start gli" At 01:25 from Djassi Byll).
I've found the easiest way to install Sun Java onto a system is too
download the self extracting installer ( jdk-1_5_0-linux-i586.bin ) from
java.sun.com, copy it to /opt/, run it as root from /opt, then symlink
the necessary files to /usr/local/bin
ln -s /opt/jdk1.5.0/bin/java /usr/local/bin/java
ln -s /opt/jdk1.5.0/bin/javac /usr/local/bin/javac
ln -s /opt/jdk1.5.0/bin/javadoc /usr/local/bin/javadoc
This seems to be the simplest method of installing java that lets you
cleanly uninstall it later.
It may help some the GLI in some cases to have JAVA_HOME defined before
On Fri, 2006-05-26 at 14:28 +1200, John R. McPherson wrote:
> On Thu, May 25, 2006 at 09:43:02AM -0500, Beth Nicol wrote:
> > -bash-3.00$ gli.sh
> > jdk-1_5_0-linux-i586.bin
> > 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: /usr/local/gsdl
> > Checking Perl: /usr/bin/perl
> > Checking Java: /usr/bin/java
> > Running the Greenstone Librarian Interface...
> > Warning: -Xmx128M not understood. Ignoring.
> > 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)
> unfortunately the problem isn't anything easy to fix such as ssh x11
> forwarding permissions. The problem here is that red hat comes with the
> free GCJ java runtime, instead of Sun's JRE which they aren't allowed to
> distribute. GLI is using some java classes that GCJ has not implemented
> I suspect that GCJ doesn't work at all with swing, although I'm not
> much of a java person so I don't know. You'll probably have to install
> Sun's java runtime, or the Blackdown java runtime which is a version of
> Sun's JRE modified to work better on linux (although still under the
> sun license that doesn't allow redistribution).
> greenstone-users mailing list