Re: [greenstone-users] GLI and Java

From Zeki CELIKBAS
DateTue, 25 May 2004 09:54:30 +0300
Subject Re: [greenstone-users] GLI and Java
In-Reply-To (p06100505bcd8279780d4-172-16-1-51)
Hi Rich,

You can find any exacutuble program path with this commands:
whereis java or
which java

Java usualy setup at /usr/java/<release number>/ directory. When you create a
symbolic link in any directory at PATH information yours java will bee known by
system. here is an example:

ln -s /usr/java/j2re1.4.2_03/bin/java /usr/bin/java

Quoting Rich Robinson <richrobinson@gtcinternet.com>:

> 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
>


-------------------------------------------------
This mail sent through IMP: http://webmail.itu.edu.tr