Fatal application error when adding applet code to tool mentor [message #580148] |
Sat, 14 July 2007 07:36 |
Elvis John Dowson Messages: 45 Registered: July 2009 |
Member |
|
|
Hi,
I am getting a fatal error when adding java applet code to a tool
mentor using EPF Composer 1.2.0-M3 and it hangs.
I used the file link option to bring in the required *.jar files for the
tool mentor. The tool mentor java applet uses a swing user interface to
capture text.
Here is the code that I added to the tool mentor using the HTML view:
<APPLET archive="./resource/toolapi.jar, ./resource/toolmentorapplet.jar"
codebase="./resource" code="com.company.tool.applet.Test.class"
WIDTH="400" HEIGHT="100">
</APPLET>
As soon as I add the java applet code and click on the save button, I get
the follow error and EPF Composer hangs
Java Plugin Fatal Error
Cannot load class sun/plugin/JavaRunTime.
The Bridge was installed at <D:\Tool\Java\SUN-JR~1.0>but the class is not
there.
Even if I click on the OK button for the Java Plugin Fatal Error window
notification, it doesn't work.
Now, if I add the applet code manually to the published website, the
applet loads fine and it works.
However, adding applet code from within EPF Composer 1.2.0-M3 hangs the
entire eclipse instance.
What could be causing this? Is there some additional settings that I need
to configured for the project properties or java libraries?
Best regards,
Elvis Dowson
|
|
|
Powered by
FUDForum. Page generated in 0.02706 seconds