在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.