Getting Java to work in Firefox on Linux
January 9th, 2009
If there is one thing that I can never remember, it’s how to get Java to work in Firefox. Last time I checked there was no functional download-and-install-now popup when a site required it. Correct me if I’m wrong though.
You’ll want to make sure you have Java installed in the first place - I prefer to use the full JDK in case someday I get up the courage to tackle programming something in Java. If you’re running Debian, Ubuntu, or another variant, do the following for the jdk:
(change out jdk for jre if you prefer)
Once Java is installed you can link it into your plugin directory for Firefox with the following command (as sudo or root):
You’ll want to restart Firefox for the settings to take affect. Test by going to time.gov and browse to your timezone.
You’ll want to make sure you have Java installed in the first place - I prefer to use the full JDK in case someday I get up the courage to tackle programming something in Java. If you’re running Debian, Ubuntu, or another variant, do the following for the jdk:
(change out jdk for jre if you prefer)
apt-get install sun-java5-jdk
Once Java is installed you can link it into your plugin directory for Firefox with the following command (as sudo or root):
cd /usr/lib/mozilla/plugins/ ln -s /usr/lib/jvm/java-1.5.0-sun-*/jre/plugin/i386/ns7/libjavaplugin_oji.so
You’ll want to restart Firefox for the settings to take affect. Test by going to time.gov and browse to your timezone.