Run Java Applet on Website: Troubleshooting Guide

  • Context: Java 
  • Thread starter Thread starter Teck
  • Start date Start date
  • Tags Tags
    Java
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
Teck
Messages
7
Reaction score
1
I'm trying to run this java applet on this website: http://astro.u-strasbg.fr/~koppen/discharge/discharge.html

But the security settings in java doesn't allow it. I have added the website as exception in the java control panel, but it is still being blocked.

How to run this java applet?
 
Physics news on Phys.org
You could download the source and run it directly on your machine. I think there is a command to run Java applets or you could modify it into a java application and it it that way.

Try the applet viewer command:

https://docs.oracle.com/javase/10/tools/appletviewer.htm#JSWOR612
Here’s some code that might work to convert it to a java application but it may be too old or deprecated.

http://ecomputernotes.com/java/awt-and-applets/appletfromcommandline
Alternatively, you could install the Java applet plugin into your browser.