|How to enable Applets on a new JDK/Eclipse install. [message #1802200]
||Mon, 04 February 2019 05:25
| Joe Boyer
Registered: February 2019
I have a big problem, and I need fairly urgent help. I teach a computer science course that requires the students to have an understanding of applets. Yes, it's an outdated course, I know, but there is no alternative, the students need to use applets.|
Applets work fine on my computer because I've had all versions of Java and Eclipse on in the past, so it can clearly find something it needs.
But today, in the first lesson of the course, I installed the latest JDK and the latest eclipse (2018.12). Create an applet, have it output "Hello World" to the screen and of course it doesn't work because applets have been removed.
I need to fix this, and fast. I have them again tomorrow and every day is wasted teaching time, this is critical. I tried installing old versions of JDK and Eclipse but the old version of eclipse just crashes after getting installed over the new version.
In the java module-info I tried "requires java.desktop" which fixed the error warning in the source window, but still won't compile because it can't find sun's applet viewer.
Can anyone provide a simple step-by-step guide on how to get applets working properly on a new eclipse install? I'm tearing my hair out and feeling incredibly frustrated. I know it's stupid that this is even an issue, but it is.
Powered by FUDForum
. Page generated in 0.02928 seconds