4

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?

fixer1234
  • 28,064
learnerX
  • 444

2 Answers2

3

Use any browser other than Chrome which supports Java.

Steven
  • 28,386
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.