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

查看:117
本文介绍了在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,请告诉我。 / p>

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天全站免登陆