Signing An Applet!!!!! Me Need Help!!!!! Plz!
OK OK OK OK!!!!!!
i know how to sign an applet, but its a problem with the applet i am having!!!!!!!!!!!!
first i create the class of the applet (italics is cmd commands)
(you can also open your .java applet with the javac.exe located in the bin directory of your JDK)
that creates the .class.. than i make that into a .jar
first i copy the entire bin directory of my JDK directory to the directory of the .java/.class i am signing
jar cvf MyApplet.jar MyApplet.class
and then i validate the jar
keytool -genkey -alias MyApplet -validity 365
and then i sign it.. to sign u do
jarsigner MyApplet.jar MyApplet
but when ever i do that, i always get a "error in method, cannot find 'main' method" type of error, and ITS NOT SUPPOSED TO DO THAT :mad: :mad: :mad:
if anyone has any info on what i might be doing wrong or what that ANNOYING error is please tell me.. my friend tried it and sais it works for him, so idk it might be my computer
I am running a Windows XP home eddition on a Dell Inspion 9400 notebook
(i know it might be the dell, dells are POS:mad: )