Run Java Applet on Website: Troubleshooting Guide

  • Context: Java 
  • Thread starter Thread starter Teck
  • Start date Start date
  • Tags Tags
    Java
Click For Summary
SUMMARY

This discussion addresses the challenges of running a Java applet on the website http://astro.u-strasbg.fr/%7Ekoppen/discharge/discharge.html due to security settings in Java. Users can add the website as an exception in the Java Control Panel, but this may not resolve the issue. The recommended solutions include using the Applet Viewer command from Java SE 10, modifying the applet into a Java application, or installing the Java applet plugin in the browser. The provided resources include links to the Applet Viewer documentation and code for converting the applet.

PREREQUISITES
  • Java SE 10 Applet Viewer command
  • Java Control Panel configuration
  • Basic understanding of Java applets and applications
  • Browser compatibility with Java applet plugins
NEXT STEPS
  • Research how to use the Applet Viewer command in Java SE 10
  • Learn how to modify Java applets into standalone Java applications
  • Explore the installation process for Java applet plugins in modern browsers
  • Review security settings in the Java Control Panel for applet execution
USEFUL FOR

Web developers, Java programmers, and anyone troubleshooting Java applet execution issues on websites.

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?
 
Technology 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.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 8 ·
Replies
8
Views
12K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
4
Views
2K