3

I am using the latest versions of Chrome, Chromium, and IceWeasel browsers on my Debian 7 system. During an experiment, I need to run old Java applets in browser. However, since the modern browsers don't support it anymore, I was wondering if there's a way I could run these Java applets on my machine. I have the source codes with me.

I tried online Java compilers like browxy.com but ultimately they too need to run the applet in the browsers -- which my browsers don't support.

Is there a way I could run these applets?

  • Are you, by any chance, using a 64-bit version of Linux? Because Firefox still supports NPAPI plugins. – Daniel B May 21 '15 at 18:42
  • Yes, I am! uname -a tells me that I'm using x86_64 GNU/Linux – learnerX May 21 '15 at 18:43
  • 1
    You use a version of those browsers that do support it. Eventually the plugin will have to be updated and/or decisions to not support NPAPI plugins will be reversed. You can still enable the extensions until Sept 2015 by the way. – Ramhound May 21 '15 at 18:43
1

For anyone reading this in 2017 or later when no modern browser supports java applets, here's what I did to get this to work on Ubuntu 16.

Install icedtea to get the java applet plugin:

sudo apt-get install icedtea-8-plugin

Download firefox 51 (last version before java was removed)

https://ftp.mozilla.org/pub/firefox/releases/51.0b9/

Extract to a specific location ($HOME/java/firefox, for example)

Disconnect from the internet temporarily (otherwise firefox will update itself to a post java version immediately)

run firefox --no-remote

Go to about:preferences#advanced and select 'Never check for updates'. You can now re-enable the internet.

After launching this browser, do not use firefox for any normal local web browsing as you will be using an old version which is unsafe. This is because when you launch firefox it will try to attach to an existing process, and so will pick up the old one. If you normally use firefox (or any of its derivatives such as iceweasel), I would suggest running the old one with $HOME set to something other than the usual, or maybe even as a different user to avoid a conflict in settings.

  • So you can't run an old version and a current version concurrently? Not even using different profiles? – Scott Oct 25 '17 at 6:54
3

Use any browser other than Chrome which supports Java.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.