9.10: No java?

Dotan Cohen dotancohen at gmail.com
Mon Nov 2 20:36:23 UTC 2009


2009/11/1 John L Fjellstad <john-ubuntu at fjellstad.org>:
> Dotan Cohen <dotancohen at gmail.com> writes:
>
>> I have these three javas:
>>
>> * 0            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      auto mode
>>   1            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      manual mode
>>   2            /usr/lib/jvm/java-6-sun/jre/bin/java       63        manual mode
>
> This seems to indicate that youa re using the openjdk and not Sun's
> java.
>
> Try changing it (sudo update-java-alternatives -l to see the list of
> java alternatives, then sudo update-java-alternatives -s <jname>,
> whatever that is for java-sun.  Think it's java-6-sun, but since I don't
> have openjdk installed, I don't know what that one is called)
>

I have tried all the javas, same problem.

> You could also just uninstall openjdk
>

Actually, I installed openjdk because the SUn java "didn't work".


> Doesn't look like it got created. If you do the update-java-alternatives
> described above, it should set up the links for you (and a bunch of
> other links.  Much safer to go through the update-alternatives command).
>

Should, but didn't.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il




More information about the kubuntu-users mailing list