Where I can Find Path of resources *.jar in JNLP?

限于喜欢 提交于 2019-12-29 04:56:26

问题


i download a java app webstart.JNLP . After i opened in notepad, i found it listed some resource as below, i think, for the app to be able to load, those *.jar must be locate some where in my pc. Where can i find the path to *.jar ? does any one help ideas ?

    <jar href="sax2.jar"/>
    <jar href="soap.jar"/>
    <jar href="sslava.jar"/>
    <jar href="winpack-3.6.1.jar"/>
    <jar href="wsdl4j-1.5.1.jar"/>
    <jar href="secprops-prodny.jar"/>

回答1:


  1. The location can be found by:
    1. Open the Java Control Panel
    2. (Close the Java Cache Viewer that opens over the top of that)
    3. On the General Tab, Temporary Internet Files section, click Settings.
    4. The location will be shown under ..Location.
  2. Below the Location section of that dialog is a Disk Space section. If Select the compression level for JAR files: is set to None (the default), there will be no Jars, just class files and other loose resources.



回答2:


On a Linux system you'll find the jar cache in ~/.java/deployment/cache/javaws/ The jars will be in a directory based on the url the jar was downloaded from.

On Windows (XP) system this same folder should be in C:\Documents and Settings\\Application Data\Sun\Java\Deployment

For Vista and Win 7 I assume its similar, but I don't know where the "Application Data" folder is located in those OSes.



来源:https://stackoverflow.com/questions/3962457/where-i-can-find-path-of-resources-jar-in-jnlp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!