This content has been marked as final. Show 10 replies
805978 wrote:So you don't even get a security screen? I might be able to give some help if you post the HTML that invokes the Applet and a listing of the jar file you have created -
When the browser tries to run the applet, the Java console appears and dissapears and the applet is not loaded.
The area where the applet should be shown in appears in black, but the applet is not loaded in.
but without this I have nothing to go on. I have no problems (other than the Applets being cached in the client for some stupid reason) creating and publishing Applets and signed Applets.
jar -tf your-jar-file.jar
Are you able to run a simple "Hello World" unsigned Applet?
I got the HTML to show the applet only occasionally, but when I change some code, re-make the applet again and test the HTML and the applet isn't shown.
I have a java.policy.applet in the same directory as the HTML and the signature is valid. The applet only uses JDK classes, not external classes, not user-defined classes
You seem to have some clutter in that jar file. Why do you need .classpath, .project and the java files included.
I'm not convinced the two signer files have valid names. I don't get these names in my signed jars so how did you create the signed jar file?
What utility did you use to obtain the listing of the jar file because it is not of the format I get when I use "jar -tf your-jar-file.jar".
This is result from the command you mentioned:
About .classpath y .project, they are included by Eclipse in the project, but I think I try to unselect them when I export the JAR.
About the names of the files, I use this name in other projects and I don't have any problems with it.