Re: [greenstone-users] GLI and Java

From Rich Robinson
DateTue, 25 May 2004 08:43:21 -0700
Subject Re: [greenstone-users] GLI and Java
In-Reply-To (40B2BC7B-793D5D73-cs-waikato-ac-nz)
This worked in terms of the program finding Java, however, now it tells me:

"The version of the Java Development Kit you have installed is too old
to compile the Greenstone Librarian Interface. Please install a new
version of the Java SDK (version 1.4 or newer) and rerun this script."

Running "which javac" gives:
/usr/java/j2sdk1.4.1_01/bin/javac

Looks like version 1.4.1, so....why would it be "too old"?

Rich


>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