Problems when running some applets in External Preview View [message #126753] |
Wed, 10 September 2003 14:31 |
Eclipse User |
|
|
|
Hello,
IŽm trying to use the External Preview View of the Update/Install
Perpsective to run Java Applets in web pages.
The problem is that some applets donŽt run, even though they execute
perfectly in Internet Explorer outside eclipse.
For example, take the Clock Applet which ships with Java SDK as a demo.
The HTML page is http://www.icablenet.com.br/~hartmann/example1.html
When I open this page in External Preview I get the error :
Error loading class: Clock
java.lang.NoClassDefFoundError
java.lang.ClassNotFoundException: Clock
at com/ms/vm/loader/URLClassLoader.loadClass (URLClassLoader.java)
at com/ms/vm/loader/URLClassLoader.loadClass (URLClassLoader.java)
at com/ms/applet/AppletPanel.securedClassLoad (AppletPanel.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.run (AppletPanel.java)
at java/lang/Thread.run (Thread.java)
This is a very simple example that runs correctly in Internet Explorer.
My configuration is :
Eclipse Platform : Version: 2.1.1 Build id: 200306271545
Java: java.vm.version=1.4.1_01-b01
OS : Windows 2000 service pack 3 portuguese
The log file doesnŽt show anything....
Any ideas ?
Thanks in advance,
Gustavo.
|
|
|
Powered by
FUDForum. Page generated in 0.05741 seconds