Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有在命令行中运行的小程序,如下所示:
appletviewer -J-Djava.security.policy=="java.policy.applet" stronka.html
我想从启用了安全策略的 Eclipse 运行小程序。我知道我必须在这里设置:
运行 -> 运行配置菜单。右键单击“Java Applet”并选择“新建”。为您的运行配置命名。选择您的项目和小程序类。选择“参数”选项卡并输入您的安全策略 VM 参数。
但是在我的情况下,我必须在那里添加什么?