Questions tagged [jnlp]

JNLP stands for Java Network Launch Protocol. It is the format of the XML based files used to configure the details of applications & applets launched using Java Web Start.

Java Network Launching Protocol

JNLP stands for Java Network Launch Protocol. It is both the format/file type of the XML based files used to configure the details of apps. launched using Java Web Start, as well as the package name of the API that is provided to JWS apps.

Java Web Start was introduced in Java 1.2, but originally launched applets as free floating entities. Since Java 1.6.0_10 (the Next Generation Java Plug-In), JNLP based applets can remain embedded in a web page.

The JNLP file specifies the resources required for an app., as well as:

  • Splash image to use
  • Shortcuts for the desktop and start menu
  • Icons for the shortcuts
  • Details of the app. such as title and vendor
  • Download and update behavior
  • The security environment requested by the app. (JWS launched apps. are sand-boxed by default).
  • ..

The javax.jnlp package is an API provided to JWS based apps. The JNLP API enables sand-boxed apps. to achieve things that would otherwise not be possible, as well as providing utility methods considered useful to apps. launched over a network. Demos. of the JNLP API are available, along with with source and build file.

The Java Network Launching Protocol (JNLP) Specification 1.5 Maintenance Release is available for download only. No expansions on the specification were introduced between 1.5 & 1.6, so it is effectively the latest version. The JNLP spec. is a valuable resource that contains information found in no other place.

1399 questions
21
votes
5 answers

How to sign (dynamic) JNLP files for OSX and Gatekeeper

My company produces Java Applications for Servers and delivers JNLP files to start local Applications. Since OSX 10.8.4 it is required to sign JNLP files with a Developer ID to keep Gatekeeper happy (it's actually in the release notes at the very…
gamma
  • 1,902
  • 1
  • 20
  • 40
21
votes
6 answers

Where is the jar files cached for Java Web Start/JNLP applications?

Where is the jar files cached for Java Web Start/JNLP applications?
Carl Hörberg
  • 5,973
  • 5
  • 41
  • 47
19
votes
4 answers

Update To JRE7, can not load nativelib jar, but JRE6 works fine

For my JNLP file , there is some nativelib info like below:
Andy
  • 199
  • 3
18
votes
1 answer

"Do you want to run this application" JNLP dialog - conditions for the dialog to be shown again

A user is running a JNLP app which is launched from the browser. The *.jar file launched by the JNLP is signed by a Certificate issued by a trusted CA. For the first time the jar file is launched, the user is asked a question whether he trusts the…
user93353
  • 13,733
  • 8
  • 60
  • 122
18
votes
7 answers

Java jnlp application blocked by Security settings

I have an enterprise java application that has plenty of jars that are downloaded to the client's jvm cache by a jnlp file. When I start the application I get the following stack trace on Java Console: Exception in thread "AWT-EventQueue-1"…
ali kerim erkan
  • 350
  • 2
  • 3
  • 16
18
votes
3 answers

Long startup delay for Java WebStart application since Java 1.7.0u40

Since we installed Java 1.7.0u45 our WebStart application shows a major delay on startup on Windows systems (we haven't tried other platforms). Symptom is that after double clicking the application icon on the desktop the splash screen shows up…
Michael B
  • 446
  • 1
  • 3
  • 11
17
votes
2 answers

Java Web Start - How to clear cache (or update the app from user's perspective)

After the JNLP gets downloaded in the browser it becomes cached so it doesn't need to be downloaded again, which is good. However, as a consequence, if I update the JAR that the JNLP uses, users will still see the old version of the app that is in…
Ska
  • 6,658
  • 14
  • 53
  • 74
17
votes
2 answers

Auto-Launch JNLP on click

How do I get a JNLP file to auto-launch on click? (as opposed to clicking save or open when clicked) Is this some type of MIME association that the browser must first recognize?
stackoverflow
  • 18,348
  • 50
  • 129
  • 196
17
votes
7 answers

jar resources in jnlp are not signed by the same certificate

I've been working with web start for a couple years now and have experience with signing the jars and what not. I am taking my first attempt at deploying a RCP app with web start and though I have in fact signed all of the jars with the same…
javamonkey79
  • 17,443
  • 36
  • 114
  • 172
16
votes
6 answers

Unidentified developer for Java Web Start application on OS X

On Mac OS X 10.9 signed Java Web Start applications are blocked by default with the message: "application.jnlp" can't be opened because it is from an unidentified developer. I know it's possible to weaken the security checks to allow any…
Emmanuel Bourg
  • 9,601
  • 3
  • 48
  • 76
15
votes
3 answers

Python equivalent to Java's JNLP Web Start?

Is there any way to achieve the same functionality in Python, i.e., launching a script from a browser and automatically updating it from a central server location?
c00kiemonster
  • 22,241
  • 34
  • 95
  • 133
15
votes
1 answer

Reserved Keywords -- Hidden? JNLP

I was browsing through some details when a thread caught my eye. https://forums.oracle.com/forums/thread.jspa?messageID=9886607 As you can see; &TOKEN=something in JNLP href is considered a special keyword and &token works. I am not really sure if…
vpram86
  • 5,860
  • 4
  • 28
  • 40
13
votes
1 answer

Java9 JNLP --add-opens not working

I have created a simple test case to test Java 9 Web Start with the new modules. Unfortunately, Java 9 Web Start does not by default support --permit-illegal-access like regular Java 9 does. Java 9 Web Start is suppose to support --add-opens (see…
13
votes
0 answers

Launch JNLP file in MS Edge

I have a ASP.NET site which offers JNLP files for starting Java Web Start applications. I've set them as hrefs in tags to download them. The behaviour I get from different browsers varies: IE11: Auto launch Firefox (45): Auto launch Chrome…
MPelletier
  • 16,256
  • 15
  • 86
  • 137
12
votes
2 answers

How to bundle JNLP API with Maven Project

I have a project where I need the JNLP API. I did not find an artifact for that on Maven Central, so I added an external Repository which offers that to my pom. That repository went offline this weekend. This is the second time something like this…
Waldheinz
  • 10,399
  • 3
  • 31
  • 61
1
2
3
93 94