Java Web Start 应用程序中下载的 jar 位于何处?
我有一个使用 Web Start 加载的 Eclipse 应用程序。
我知道 Eclipse 插件必须以 jar 的形式存储在某个地方。当使用 Java Web Start 下载此类应用程序时,它们存储在哪个位置?
我期望 JAR 文件位于用户目录中的某个位置,但我还无法跟踪它们。
谢谢!
I have an Eclipse application loaded using Web Start.
I know that the Eclipse Plugins must be stored somewhere as jars. In which location are they stored when such an application is downloaded using Java Web Start?
I am expecting the JAR files to be somewhere on the user directory, but I haven't been able to track them yet.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
检查Java控制面板的“Temporary Internet Files”部分-->常规选项卡。它会告诉您保存应用程序的位置。
默认路径是..(在 Windows 上)%appdata%\Sun\Java\Deployment\cache
同一部分中的“查看”按钮将为您提供快速启动保存在系统上的应用程序的方法。
应用程序在缓存文件夹之一中保存为 jar(尽管没有 .jar 作为扩展名)。您可以使用 7-zip 或其他一些提取软件打开文件。
Check the "Temporary Internet Files" section of Java control panel --> General tab. It would tell you the place where you have saved the application.
The default path is.. (On windows) %appdata%\Sun\Java\Deployment\cache
The "View" button in the same section would provide you a quick way to launch the applications that are saved on your system.
Application is saved as jar (though without the .jar as extension) inside one of folder of cache. You can open the files using 7-zip or some other extraction software.
我相信,如果您将 Java 设置为保留临时文件,它们将存储在您为此指定的目录下,尽管不是普通的 jar。据我所知,如果您没有设置该选项,它们将存储在您的 Temp 文件夹中(无论如何,在 Windows 中)名为
jar_cache*.tmp
的文件中,其中*
是一个很长的数字。I believe that if you have Java set to keep temporary files, they're stored under the directory you have specified for that, though not as plain jars. From what I can tell, if you don't have that option set, they're stored in your Temp folder (in Windows, anyway) in files called
jar_cache*.tmp
, where*
is a long number.