Java on ubuntu
Anders Karlsson
trudheim at gmail.com
Tue May 2 06:24:50 UTC 2006
On Tue, 2006-05-02 at 14:42 +1000, Alfred Vahau wrote:
> I wanted to build my own class files so I downloaded the jdk and jre
> from the sun site and installed them under /usr/local.
> I included the correct path in /etc/profile and set up the correct
> environment for Java. No problems.
> But I cannot execute any of the applets under the demo directory in
> Firefox. It is looking for a plug-in.
> I think installation by non-Ubuntu way, i.e not using the apt-get
> install is causing this problem.
> How do I get my Breezy system to deal with my manually installed Java
> files..
When you install java using a .deb, it sets a number of links
in /etc/alternatives, one of which is the plugin for Firefox.
Best way to install Sun's Java is - download the .bin files from Sun's
website. Then install fakeroot and make-jpkg and run make-jpkg on
the .bin files in turn.
That gives you .deb's to install which will "do the right thing".
Or, you can keep setting the symlink to the plugin
in /usr/lib/firefox/plugins/ or /usr/lib/mozilla-firefox/plugins/.
HTH,
--
Anders Karlsson <trudheim at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3838 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060502/af020f7a/attachment.bin>
More information about the ubuntu-users
mailing list