Arne Vajh=F8j wrote:
After a long time, I tried to create an applet. In eclipse [sic] it runs
perfect as an applet, but in the webpage in the browser it gives a
Hmm. Could there be a dependent JAR missing in the browser context?
I even tried my very first program, HelloWorldApplet, but I got again
Which would be ...?
Yes, yes, you said 'NoClassDefFoundError'. What was the *exact* message?
What is the code?
What kind of problem is this?
You did read this before, yes?
It explains exactly what kind of problem this is.
RTFM is sooo useful.
Is it a compilation issue?
Really? Come on.
Or is it an eclipse [sic] problem?
Given that it doesn't happen in Eclipse, according to your report, I'd have=
At this stage I would be happy to have the HelloWorldApplet run: I feel =
if I this runs, my other program will run too.
"Feel"? Logic should rule.
Impossible to say without more info.
Although it's certainly possible to say this isn't a compilation error,
given that it happened at runtime
and not during compilation.
It could be that the class/jar file is not correctly placed
or is not correctly served by the web server.
Or not referenced properly in the various tags and applet JAR.
How are you packaging the applet?
How are you specifying its classpath?