9.10: No java?

John L Fjellstad john-ubuntu at fjellstad.org
Sun Nov 1 21:33:55 UTC 2009


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)

You could also just uninstall openjdk

>> Does /usr/lib/firefox/plugin and/or /usr/lib/mozilla/plugin contain the
>> java plugin link?
>>
>
> karmic1 at kubuntu:~$ cd /usr/lib/firefox/plugins/
> karmic1 at kubuntu:/usr/lib/firefox/plugins$ ls
> flashplugin-alternative.so
> karmic1 at kubuntu:/usr/lib/firefox/plugins$ cd /usr/lib/mozilla/plugins/
> karmic1 at kubuntu:/usr/lib/mozilla/plugins$ ls
> flashplugin-alternative.so  libskypebuttons.so
> karmic1 at kubuntu:/usr/lib/mozilla/plugins$
>
> Should I create those links manually?


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

-- 
John L. Fjellstad
web: http://www.fjellstad.org/          Quis custodiet ipsos custodes





More information about the kubuntu-users mailing list