[ubuntu-za] Installing Java on 8.04 LTS

Louis van der Merwe themandibleclaw at gmail.com
Thu Jan 15 12:51:37 GMT 2009


2009/1/15 Alf Stockton <alf at stockton.co.za>:
> Louis van der Merwe wrote:
>> 8<
>> .......snip.....
>>
>> Hi Alf,
>>
>> Something sounds really screwy with your java installation.
>>
>> what are the results of ls /usr/lib/jvm/java-1.5.0-sun/bin?
>>
> ls /usr/lib/jvm/java-1.5.0-sun/bin
> amd64  keytool  klist  orbd     policytool  rmiregistry  tnameserv
> java   kinit    ktab   pack200  rmid        servertool   unpack200
>
>  > .....snip.....
> and which jar still returns nothing.
>
> and Trac+ web site is at http://www.trackplus.com
> and the documentation I read says:-
>   Install JDK 1.5. or JDK 1.6.
>
> --
> Regards,
> Alf Stockton            www.stockton.co.za
>
> Your lover will never wish to leave you.
>
> --
> ubuntu-za mailing list
> ubuntu-za at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>

try installing the development kit alf,

sudo apt-get install sun-java5-jdk

that should solve the problem, what you've installed is just the
runtime, which is fine, the difference is that in the jre, jar resides
in /usr/lib/jvm/java-1.5.0-sun/jre/bin

update-java-alternatives is obviously looking for the JDK

please let us know if it fixes the problem for you.

regards

Louis



More information about the ubuntu-za mailing list