1

I am trying to run a Java Applet but it says it cannot find Java because the directory Library/Internet Plug-Ins/JavaAppletPlugin.plugin/... does not exist.

I have installed multiple Java versions but they only seem to be added under Library/Java/....

How can I run a Java Applet on a modern M1 machine?

cachius
  • 271

1 Answers1

1

Install Java 1.8 which brings appletviewer, then run the applet with it:

appletviewer "https://www.oracle.com/webfolder/technetwork/java/applets/jdk/1.4/demo/applets/Clock/example1.html"
appletviewer file:///path/to/htmlWithApplet.html
cachius
  • 271