简体   繁体   English

通过Web Start启动JNLP后在哪里下载JAR文件

[英]Where are JAR files downloaded after launching JNLP through Web Start

Where are the JAR files downloaded after launching a JNLP through Web Start? 通过Web Start启动JNLP之后,JAR文件在哪里下载?

I have searched in my home directory in appdata/local... , but it is showing .jnlp file instead of .jar . 我已经在我的主目录中搜索了appdata/local... ,但是它显示的是.jnlp文件而不是.jar

just run the below command and then select resources in the tool 只需运行以下命令,然后在工具中选择资源

javaws -viewer javaws-查看器

Since you mentioned "appdata" I assume you are running webstart on windows - on an other OS things obviously are different. 自从您提到“ appdata”以来,我假设您正在Windows上运行Webstart-在其他OS上,情况显然有所不同。

The location of the downloaded JARs has changed some versions ago, but current versions use C:\\Users\\<your userid>\\AppData\\LocalLow\\Sun\\Java\\Deployment\\cache (at least on my Windows 7 machine, but I think it should be the same for newer Windows versions). 下载的JAR的位置在某些版本之前已更改,但是当前版本使用C:\\Users\\<your userid>\\AppData\\LocalLow\\Sun\\Java\\Deployment\\cache (至少在我的Windows 7计算机上,但我认为是对于较新的Windows版本应相同)。

Note that under the cache -directory there is an additional folder structure and also note that the JAR-files are not saved under the same name that they are stored on the server but using some computed value - and not even using the .jar -extension (eg one of our JAR-files is stored as 6cb5c740-6bb35453-1.0- ). 请注意,在cache directory下有一个附加的文件夹结构,并且还请注意,JAR文件不是使用与存储在服务器上的名称相同的名称保存的,而是使用一些计算值-甚至不使用.jar -extension (例如,我们的JAR文件之一存储为6cb5c740-6bb35453-1.0- )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM