Community
Participate
Working Groups
Build Identifier: 20100218-1602 I created an applet which runs fine if executed from eclipse using the applet viewer. If however I create an html file and run it from there I either get a NoClassDefFoundError. Here is what I am trying to do. I have a directory sites/MLD which contains the html file with the embedded applet. I have copied the class file into the same directory as the html file but it doesn't load. The only way I have gotten it to work is to copy the html file into the same workspace directory as the eclipse bin directory - so my question is what do I need to do to get those class files in the sites/MLD directory to work with html file. Reproducible: Always
You have to ensure that all the required .class files are included in the "codebase" attribute. Going by the NoClassDefFoundError, I suspect the main class is picked up but a referenced class file or library hasn't been found. Can you check if the class reported in the NoClassDefFoundError is available in the folder (in appropriate package) where you have the HTML file? This doesn't look like an eclipse problem.
This "bug" rather looks like a question. Bugzilla is used to report bugs. Please use the newsgroups (eclipse.tools.jdt in this case) to ask questions like this. If you still think it is a bug in Eclipse then you should provide more details, e.g. your example and/or steps to reproduce.
Verified.
Verified for 3.7RC0