Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to enable Applets on a new JDK/Eclipse install.
How to enable Applets on a new JDK/Eclipse install. [message #1802200] Mon, 04 February 2019 05:25 Go to next message
Joe Boyer is currently offline Joe BoyerFriend
Messages: 1
Registered: February 2019
Junior Member
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.
Re: How to enable Applets on a new JDK/Eclipse install. [message #1802268 is a reply to message #1802200] Tue, 05 February 2019 15:05 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4507
Registered: July 2009
Senior Member

Never install one version of Eclipse over another. Installing a new version of Eclipse, without overwriting an existing install, and using it with an older JDK should work as you expect. Both applets and the Applet Viewer itself are gone in JDK 11. https://bugs.openjdk.java.net/browse/JDK-8202161 .

_
Nitin Dahyabhai
Eclipse Web Tools Platform

[Updated on: Tue, 05 February 2019 15:06]

Report message to a moderator

Previous Topic:Marketplace issues
Next Topic:Eclipse for Scientific Computing
Goto Forum:
  


Current Time: Thu Jan 16 09:48:17 GMT 2025

Powered by FUDForum. Page generated in 0.08407 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top