You can also use Ant for this:

http://ant.apache.org/manual/Tasks/signjar.html

In fact, this is how we sign the demo and tutorial JARs.

G

On Jul 28, 2010, at 9:11 PM, [email protected] wrote:

> Hi Rosen,
> 
> You need sign you JAR for the FilePermission if you want deploy it by
> applet.
> 
> Below tool is provide by JDK.you can find it in %java_home/bin
> KEYTOOL
> Jarsigner
> 
> 
> Best regards,
> Ken Jiang
> 
> *******************************************
> Murata Electronics Trading  (Shenzhen) Co.,Ltd
> Tel:86-755-82847251
> E-mail:[email protected]
> *******************************************
> 
> 
> 
>  From:       seth rosen <[email protected]>                            
> 
>  To:         user <[email protected]>                             
> 
>  Date:       07/28/2010 22:57                                         
> 
>  Subject:    Problem deploying pivot applet                           
> 
> 
> 
> 
> 
> 
> I developed a simple pivot app in eclipse. It works perfectly when run as
> an applet from within eclipse but when deploying it in an html page I get
> the following error:
> 
>  access denied (java.io.FilePermission <FilePath> read)
> 
> My applet code is:
> 
>    <applet
>  code="org.apache.pivot.wtk.BrowserApplicationContext$HostApplet"
> 
>  
> archive="lib/pivot-core-1.5.jar,lib/pivot-wtk-1.5.jar,lib/pivot-wtk-terra-1.5.jar,lib/pivot-tutorials-1.5.jar"
>        width="460" height="480">
>        <param name="application_class_name" value="ClassName">
>    </applet>
> 
>  Thanks for the help
> Seth
> 

Reply via email to