Java Web Start 沙箱
有没有办法知道Java沙箱的位置或指向沙箱的系统变量?
要求是我需要在本地运行 java 代码,该代码引用 JWS Sandbox 中的 jar 文件。
Is there a way to know the location of Java sandbox or a system variable pointing to the sandbox?
Requirement is I need to run a java code locally which refers to a jar file in JWS Sandbox.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
JWS沙箱不是一个地方,而是一个安全环境。所有权限、j2ee-application-client-permissions 和沙盒应用程序的类。都存储在同一个文件路径下。
可以通过检查 Java 控制面板 找到该位置,(关闭 Java 缓存查看器,)激活设置常规选项卡的临时 Internet 文件部分中的按钮。请参阅弹出对话框的“位置”部分,找到缓存的路径。 (1)
请注意,要启动 JWS 应用程序。从代码中实现起来非常简单。
1)也许一个更好的问题是,为什么你实际上(认为你)需要这样做,而不是使用应用程序。拥有 JNLP/GUI?它是什么软件?
The JWS sand-box is not a place but a security environment. The classes for all-permissions, j2ee-application-client-permissions, and sand-boxed apps. are all stored under the same file path.
That location can be found by inspecting the Java Control Panel, (close the Java Cache Viewer,) activate the Settings button in the Temporary Internet Files section of the General tab. See the Location section of the dialog that pops up, to find the path to the cache. (1)
Note that to launch a JWS app. from code is quite easy..
1) Perhaps a better question though, is why do you actually (think you) need to do this, as opposed to using the apps. own JNLP/GUI? What software is it?