Hi, my codes works well in NetBeans as an applet, but why no appearance in a html.
One thing I must mention is I create my code that works both as an applet and as a stand-alone application. I have three class: Combox.java ,Drawing.java and TextCell.java. The code structure looks like Thanks for any help.
Originally posted by Hui Zhao: Where is the file migsuncert.crt located?
C:\Program Files\Java\jdk1.6.0_01\bin>keytool -export -alias migkey -file migsuncert.crt Enter keystore password: keytool error: java.io.FileNotFoundException: migsuncert.crt (Access is denied)
The filename is used for the certificate file you're trying to export to; it doesn't exist yet. Does the account you're using possibly not have write permissions for that directory? That's another reason for that exception to happen.
I signed successfully in another machine. And I follow the instructions in the book "Java Cookbook". You can now sign the JAR file with your test certificate:
The jarsigner tool updates the META-INF directory of your JAR file to contain certificate information and digital signatures for each entry in the archive. Now I have two questions. 1)What is meant by the term "META-INF" directory? 2)Because my applet contains File I/O, after this step can I run my applet?
Jar files contain a META-INF directory which in most cases contains just a single file: the manifest. In it you'll find various pieces of meta information about the jar file, including information about its signature. That's why it is updated if the jar file is signed. The jar file specification has more details on this.
Because my applet contains File I/O, after this step can I run my applet?