X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

Firefox will not load Java in Linux - even after following all instructions on net I can find - what am I doing wrong??

Posted

The problem I've got is I'm currently running Puppy Linux on my laptop.

Now I've tried everything I can to get Java working under either Firefox, Chromium or Seamonkey (I have all three browsers on my computer).

For firefox and seamonkey I have tried the following -

downloaded the tar.gz file for java unpacked it to /opt/java gone to /user/lib/mozilla/plugins and run the command ln -s /opt/java/plugin/i386/ns7/libjavaplugin_oji.so to create the symbolic link to the plugin checked that the plugin is executable (actually even tried giving everything full permission to read/write and execute it)

For Chromium done a similar thing but put the symbolic link in /usr/lib/chrome-linux/plugins folder instead.

Restarted the web browser, even tried restarting X Server in case the browser is running somewhere in the background.

All three browsers can pick up all the other .so plugins in that folder except Java.

When I click check plugins on firefox I get to the page about "Missing Java? - For your safety Firefox has disabled your outdated version of Java. Please upgrade to the latest version".

However the version I've downloaded is Version 7 Update 9 which is exactly the same one that is available as the latest version from Java themselves (it was only downloaded from that link a couple of minutes before, I've even tried re-downloading it just in case there has been an update within those 5 minutes).

If I go into the Java folder and run ControlPanel the Java control panel pops up and it knows where Java is installed and everything.

So what on earth is going on? Am I installing the plugin in the right directory? I'm guessing so as that is where all the other plugins are stored and Firefox, Chrome and Seamonkey are picking all the others up fine, or could there be an older version of Java lurking around somewhere on my system that Firefox, Seamonkey and Chrome are all trying to use?

I've also tried downloading the RPM and installing that into the /usr/java folder and replacing the symlink from /opt/java to the one in the /usr/java folder and still nothing.

I just really can't understand it 'cos it's picking up all the other plugins like Gecko and even installed Flash in the same way and that works fine.

Modified by darrenforster99

Chosen solution

libjavaplugin_oji.so is the classic Java plugin.
You need the Next Generation libnpjp2.so plugin (e.g. java/lib/i386/libnpjp2.so) for current browsers.

Read this answer in context 2

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.2 r202
  • Gecko Media Player 1.0.4Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer

Application

  • User Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20100101 Firefox/16.0

More Information

Application Basics
Name
Firefox
Version
16.0.2
User Agent
Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20100101 Firefox/16.0
Profile Directory
Open Directory
Enabled Plugins
about:plugins
Build Configuration
about:buildconfig
Crash Reports
about:crashes
Memory Use
about:memory
Extensions
Name
Version
Enabled
ID
Important Modified Preferences
Name
Value
browser.cache.disk.capacity
1048576
browser.cache.disk.smart_size.first_run
false
browser.cache.disk.smart_size_cached_value
215040
browser.places.smartBookmarksVersion
4
browser.startup.homepage_override.buildID
20121024073032
browser.startup.homepage_override.mstone
16.0.2
extensions.lastAppVersion
16.0.2
network.cookie.prefsMigrated
true
places.history.expiration.transient_current_max_pages
10018
privacy.sanitize.migrateFx3Prefs
true
Graphics
Adapter Description
Mesa Project -- Software Rasterizer
Vendor ID
Mesa Project
Device ID
Software Rasterizer
Driver Version
2.1 Mesa 7.10.2
WebGL Renderer
Blocked for your graphics driver version. Try updating your graphics driver to version Mesa 7.10.3 or newer.
GPU Accelerated Windows
0. Blocked for your graphics driver version. Try updating your graphics driver to version Mesa 7.10.3 or newer.
AzureBackend
skia
JavaScript
Incremental GC
1
Accessibility
Activated
0
Prevent Accessibility
0
Library Versions
Expected minimum version
Version in use
NSPR
4.9.2
4.9.2
NSS
3.13.6.0 Basic ECC
3.13.6.0 Basic ECC
NSS Util
3.13.6.0
3.13.6.0
NSS SSL
3.13.6.0 Basic ECC
3.13.6.0 Basic ECC
NSS S/MIME
3.13.6.0 Basic ECC
3.13.6.0 Basic ECC

cor-el
  • Top 10 Contributor
  • Moderator
10738 solutions 96644 answers

Chosen Solution

libjavaplugin_oji.so is the classic Java plugin.
You need the Next Generation libnpjp2.so plugin (e.g. java/lib/i386/libnpjp2.so) for current browsers.

Question owner

Thanks cor-el looks like Oracle need to update their linux installation instructions then. If only I'd have known that before doing all sorts to get it working.

I now have Java in Firefox, Chrome and Seamonkey  :) :) :) :) :).