Re: [greenstone-users] GLI and Java

From Michael Dewsnip
DateTue, 25 May 2004 15:24:43 +1200
Subject Re: [greenstone-users] GLI and Java
In-Reply-To (p06100505bcd8279780d4-172-16-1-51)
Hi Rich,

What happens if you type "which javac" -- do you get /usr/java/j2sdk1.4.1_01/bin? If not, check that Java is
actually installed in this location.

One way of fixing this problem is to edit the makegli.sh file and specify the path of your Java SDK. Find the
lines

## ---- Check Javac exists ----
javacpath=

and enter the path of the javac executable:

## ---- Check Javac exists ----
javacpath=/usr/java/j2sdk1.4.1_01/bin

Then save and try again.

Regards,

Michael

Rich Robinson wrote:

> Hi,
>
> I've successfully installed Greenstone on a UNIX system. Now to
> enable the Greenstone Librarian Interface, I've attempted to run sh
> makegli.sh. I get this error:
>
> Failed to locate an appropriate version of Javac. You must install a
> Java Development Kit (version 1.4 or greater) before compiling the
> Greenstone Librarian Interface.
>
> However, if I type
> echo $PATH
> I get this:
> /usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin:/usr/java/j2sdk1.4.1_01/bin:/usr/local/ant/bin:/home/lausanne/bin
>
> Doesn't this indicate that the Java Development Kit is already on my
> machine and should be found? Appreciate any help -
>
> Rich Robinson
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users