JDK 7中的JnlpDownloadServlet在哪里? [英] Where is JnlpDownloadServlet in JDK 7?
问题描述
根据Oracle的在线文档,JnlpDownloadServlet仍是Java 7的一部分:
According to Oracle's online documentation, JnlpDownloadServlet is still a part of Java 7: http://docs.oracle.com/javase/7/docs/technotes/guides/javaws/developersguide/downloadservletguide.html
但是我刚刚安装了JDK 1.7.0,并且jnlp-servlet.jar和jardiff.jar都没有出现在我的Java主页中的任何地方,至少在Windows上没有.我搜索了目录中的每个jar(使用出色的ack命令行实用程序),但都不包含JnlpDownloadServlet.
But I just installed JDK 1.7.0, and neither jnlp-servlet.jar nor jardiff.jar appear anywhere in my Java home, at least on Windows. I ran a search through every jar in the directory (using the excellent ack command-line utility) and none of them contain JnlpDownloadServlet.
推荐答案
从Java 7 Update 2开始,演示和示例"被单独下载.
Starting with Java 7 Update 2 the "Demos and Samples" were made into a separate download.
您可以找到此处列出的最新演示和示例"的下载链接:
http://www.oracle.com/technetwork/java/javase/downloads /index.html
(在页面上搜索样本".)
You can find the download link to the latest "Demos and Samples" listed here:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
(Search on page for "samples").
您将在其中找到jnlp-servlet.jar等:
You will find jnlp-servlet.jar, etc. therein:
jdk-7u6-windows-i586-demos.zip:/jdk1.7.0_06/sample/jnlp/servlet/jnlp-servlet.jar
jdk-7u6-windows-i586-demos.zip:/jdk1.7.0_06/sample/jnlp/servlet/jnlp-servlet.jar
这篇关于JDK 7中的JnlpDownloadServlet在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!