Where is the JnlpDownloadServlet in JDK 7?

According to Oracle online documentation, JnlpDownloadServlet is still part of Java 7: http://docs.oracle.com/javase/7/docs/technotes/guides/javaws/developersguide/downloadservletguide.html

But I just installed JDK 1.7.0, and neither jnlp-servlet.jar nor jardiff.jar will appear anywhere in my Java home, at least on Windows. I searched through each jar in the directory (using the excellent ack command-line utility), and none of them contain JnlpDownloadServlet.

+4
source share
2 answers

Starting with Java 7 Update 2, Demos and Samples has been added to a separate download.

You can find the download link for the latest "Demos and Samples" listed here: http://www.oracle.com/technetwork/java/javase/downloads/index.html
(Search the page for "samples").

Here you will find jnlp-servlet.jar etc.

jdk-7u6-windows-i586-demos.zip:/jdk1.7.0_06/sample/jnlp/servlet/jnlp-servlet.jar

+11
source

Oddly enough, the Mac version does not have this. You must download sample windows. Why should different platforms have different patterns on a write-once, no-write platform.

+3
source

Source: https://habr.com/ru/post/1436443/


All Articles