GNU Java vs. Sun Java: What's the difference, what is better?

John L Fjellstad john-ubuntu at fjellstad.org
Sat Dec 23 00:34:19 UTC 2006


"Dotan Cohen" <dotancohen at gmail.com> writes:

> Thanks. I've actually got the Sun Java installed, but I can't get it
> to work with Firefox. The Kubuntu wiki is outdated, it only refers to
> Kubuntu 5.10 and 6.06. How does one get Firefox to use the Sun Java in
> Kubuntu 6.10?

Did you get in from the Sun website or the repositories?
If you enable multiverse, you can do
aptitude install sun-java5-plugin

and everything will be set up for you.
If you downloaded a .bin package from Sun (I would do the jre package
unless you are doing development), copy this package somewhere (like
/opt).
Type 
sudo sh <package>.bin
It will be unpacked there (I think called something).
cd into the plugin directory (something like jre/lib/plugin/ns710 or
something). Make a symlink from the plugin to /usr/lib/mozilla/plugins

But honestly, just use the one in the repository.  Much easier.

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





More information about the ubuntu-users mailing list