Unfortunately Java installation has to be this complicated :-/
Installing through the system package manager is usually your best bet, unless (as with your case), the repos are outdated.
You should be able to get Java applets working by linking the mozilla plugin to your mozilla plugins directory:
Code:
$ mkdir -p ~/.mozilla/plugins
$ ln -s /usr/java/jdk1.6.0_13/jre/plugin/i386/ns7/libjavaplugin_oji.so ~/.mozilla/plugins
This also applies to non-mozilla browsers (konqueror, opera, etc) as its a generic directory for browser plugins.
You'll probably have to add a file handler for .jnlp files to get webstart working. In KDE you can use "File Associations" panel in kcontrol (under KDE Components)/ systemsettings (under the "Advanced" tab). I'm not sure how to do this with GNOME/XFCE, but it's probably similar:
Quote:
|
Click Add, choose a category and name it "jnlp". Then add the ".jnlp" extension and associate it with the "javaws" command (you'll likely have to type this yourself)- /usr/java/jdk1.6.0_13/bin/javaws.
|
That *should* get things working for you. If all else fails, you can always run .jnlp files from the command line with:
Code:
$ javaws http://url/of/webstartapp.jnlp
Another option is to use alien to install the rpm version. The .bin for the RPM distribution of the JDK at least extracts the RPMs you'll need to install (and fails when it attempts to install them), so you should be able to convert them to .debs:
Code:
# apt-get install alien
...
$ alien -i --to-deb anrpm.rpm anotherrpm.rpm ...
They should be installed automatically. The benefit to doing this is that (on my system at least) most of the file associations and configuration seems to be taken care of automatically.