Ubuntu: How do I make Firefox use the new (local) version of Java?


I'm kind of new to Java. I already had it downloaded but it needed to be updated. I updated it locally (without root), but Firefox is still using the old one from root.

How do I make it use the newer version? Preferably without root access.


  • Find where the new libpjp.so is installed from your new java update. You can do

    find / -name "libpjp.so" 2>/dev/null  

    and it will show you all the libpjp.so files on the filesystem.

  • Create a plugins directory in your home directory's ~/.mozilla/ directory so you have ~/.mozilla/plugins.

  • Make a symlink in the plugins directory to the libpjp.so file and restart firefox.

Source: Oracle.com

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »