java - Running Eclipse aplication or applet with permissions -


i have applet run in command line this:

"c:\program files (x86)\java\jdk1.6.0_21\bin\appletviewer.exe" -j"-djava.security.policy=java.policy.applet" cw11.html 

how can run applet in eclipse java.policy.applet permissions?

its long time since wrote applet, should able creating new applet run configuration.

  1. choose run -> run configurations menu.
  2. right click "java applet" , choose "new".
  3. give run configuration name.
  4. select project , applet class.
  5. choose "arguments" tab , enter security policy vm argument.
  6. click "run" , off go.

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -