在 JNLP 中哪里可以找到资源 *.jar 的路径?

发布于 2024-09-27 20:02:18 字数 384 浏览 0 评论 0原文

我下载了一个java应用程序webstart.JNLP。当我在记事本中打开后,我发现它列出了一些资源,如下所示,我认为,为了使应用程序能够加载,这些 *.jar 必须位于我的电脑中的某个位置。在哪里可以找到 *.jar 的路径?有人帮忙出主意吗?

    <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"/>

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"/>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

看海 2024-10-04 20:02:18
  1. 可以通过以下方式找到该位置:
    1. 打开Java 控制面板
    2. (关闭在其顶部打开的 Java 缓存查看器)
    3. 在“常规”选项卡的“Internet 临时文件”部分中,点击“设置”。
    4. 该位置将显示在“..位置”下方。
  2. 该对话框的“位置”部分下方是“磁盘空间”部分。如果选择 JAR 文件的压缩级别:设置为“无”(默认值),则不会有 Jars,只有类文件和其他松散资源。
  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.
分开我的手 2024-10-04 20:02:18

在 Linux 系统上,您将在 ~/.java/deployment/cache/javaws/ 中找到 jar 缓存。jar 将位于基于下载 jar 的 url 的目录中。

在 Windows (XP) 系统上,同一文件夹应位于 C:\Documents and Settings\\Application Data\Sun\Java\Deployment

对于 Vista 和 Win 7 我认为它类似,但我不知道“应用程序数据”在哪里文件夹位于这些操作系统中。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文