在 JDK 1.7 中找不到 jnlp.jar [英] Can't find jnlp.jar in JDK 1.7

查看:38
本文介绍了在 JDK 1.7 中找不到 jnlp.jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了 JDK 1.7,我需要制作一个 Java Web Start 应用程序.上网查了一下,发现你的项目构建路径中需要jnlp.jar.

I have JDK 1.7 installed and I need to make a Java Web Start application. I searched the internet and found that you need the jnlp.jar in your project build path.

有一个类似的问题(http://stackoverflow.com/questions/7593029/where-can-i-download-jnlp-jar),用户说它在 jdk 文件夹中,特别是在C:\Program Files\Java\jdk1.6.0_27\sample\jnlp\servlet.

There is a similar question (http://stackoverflow.com/questions/7593029/where-can-i-download-jnlp-jar) where a user said it's in the jdk folder, specifically in C:\Program Files\Java\jdk1.6.0_27\sample\jnlp\servlet.

但这适用于 JDK 1.6.在 1.7 中没有示例文件夹,我无法通过 Windows 搜索找到任何 jnlp.jar.

But that is for JDK 1.6. In 1.7 there is no sample folder and I can't find any jnlp.jar with windows search.

如果有其他使用 JNLP API 的方法请告诉我.

If there is another way to use JNLP API please tell me.

推荐答案

其实就是javaws.jar,你会在jre/lib目录下找到它.

Actually it's javaws.jar, you'll find it in the jre/lib directory.

这篇关于在 JDK 1.7 中找不到 jnlp.jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆