Hi all,
I have problem of starting GLI, when excute: "sh gli.sh". I get the
following message:
-------------------------------------------------------------------------------------------------------------------------------
Greenstone Librarian Interface (GLI)
Copyright (C) 2004, 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/gsdl
Your environment has successfully been set up to run Greenstone
Checking Perl: /usr/bin/perl
Checking Java: /usr/bin/java
gli.sh: line 201: [: -lt: unary operator expected
gli.sh: line 204: [: -eq: unary operator expected
Running the Greenstone Librarian Interface...
java.lang.ExceptionInInitializerError
at org.greenstone.gatherer.GathererProg.main (GathererProg.java:91)
Caused by: java.lang.NullPointerException
at org.greenstone.gatherer.Gatherer.<clinit> (Gatherer.java:130)
at org.greenstone.gatherer.GathererProg.main (GathererProg.java:91)
java.lang.NullPointerException
at org.greenstone.gatherer.Gatherer.<clinit> (Gatherer.java:130)
at org.greenstone.gatherer.GathererProg.main (GathererProg.java:91)
Done!
-------------------------------------------------------------------------------------------------------------------
There is some error on the java program. Since i know little about java
language, can someone give some hints on how to fix it?
ps: the java environment has been setup. the command "java" and "javac"
are available.
Thank you for suggestions. |