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
12
votes
1 answer

How to make java web start launch automatically without double click on the JNLP

I have a java applet application which is accessed by our customers through our website. Since Microsoft edge and chrome stopped supporting java plug in, we converted the applet to be launched through JNLP and Java Web Start, Unfortunately, In both…
ManKeer
  • 543
  • 2
  • 6
  • 27
12
votes
3 answers

Remote debugging java web start under JVM 1.8

I have a Java Web Start application, which I used to start through a shortcut: "C:\Program Files\Java\jdk1.7.0_67\bin\javaws.exe" -J-Dfile.encoding=UTF-8 -J-Xdebug -J-Xnoagent -J-Xrunjdwp:transport=dt_socket,server=n,suspend=y,address=8200"…
Ivan Tamashevich
  • 291
  • 1
  • 5
  • 14
12
votes
2 answers

Can not open JNLP file using Linux?

I am trying to load an jnlp file. However I have the following error: Could not read or parse JNLP file. I've read that this the problem might be fixed from Mozilla's preferences: Edit -> Preferences -> Applications -> "Java Web Start application".…
sammy333
  • 1,384
  • 6
  • 21
  • 39
12
votes
8 answers

Java Webstart intermittant JAR not updating

We use java Webstart to deploy a java application on our intranet. The application receives frequent updates. Once in awhile a user will launch the application from their desktop icon after we have updated the JARs / WAR on the webserver (timestamp…
Chris Kannon
  • 5,931
  • 4
  • 25
  • 35
12
votes
26 answers

Can not run Java Applets in Internet Explorer 11 using JRE 7u51

Today I updated my Java version to 7u51. After the installation, I cleared Java Cache, browser's Cache, and logged into a secure website that uses an Applet to provide certain additional services to the user. The applet is not working anymore. I…
David
  • 1,282
  • 3
  • 18
  • 40
12
votes
1 answer

How to distinguish 32 bit from 64 bit java version in jnlp files

To start our legacy application, we use java WebStart via a jnlp. We would like to support 64-bit Java clients but one of our libraries is architecture dependent. We thought of doing something like:
Dave
  • 1,417
  • 14
  • 23
11
votes
2 answers

Jenkins-Worker: SSH or JNLP Connection?

Right now I found 2 possible solutions creating Jenkins Slaves or Jenkins Workers: Using the SSH-Slave Plugin Using JNLP My question now: What is the better / more stable solution and why? I found myself some pros and cons using both of the…
Christoph Forster
  • 1,728
  • 4
  • 27
  • 39
11
votes
3 answers

Can we read browser saved cookies from a java desktop application?

I want to transfer web login session to my java desktop application ,so that once again I don't want to login in my desktop application. Once the user logs into my web application, I set some cookies on the user system, once he starts my standalone…
Handroid
  • 399
  • 1
  • 2
  • 13
11
votes
2 answers

How do I add a MIME type to .htaccess?

I would like to add the following MIME type to a site run by Apache: jnlp application/x-java-jnlp-file That is the Tomcat format. I'm on a shared host, so I can only…
Frank Krueger
  • 69,552
  • 46
  • 163
  • 208
11
votes
4 answers

Does Java Web Start require that the Java browser plug-in is enabled?

To protect our users from maliciuos applets I wanted to disable the Java browser plug-in. In a test (JRE 7) I noticed that deactivating the plug-in also disables Java Web Start. We need to use one Web Start application so it seems that we have no…
mjn
  • 36,362
  • 28
  • 176
  • 378
11
votes
5 answers

Encoding issue on filename with Java 7 on OSX with jnlp/webstart

I have this problem that has been dropped on me, and have been a couple of days of unsuccessful searches and workaround attempts. I have now an internal java swing program distributed by jnlp/webstart, on osx and windows computers, that, among…
Duralumin
  • 173
  • 2
  • 11
11
votes
2 answers

Generate JNLP dynamically

I need to pass argument to JNLP dynamically for which I tried using a servlet which extends JnlpDownloadServlet and then includes a jsp which has all the JNLP XML written into it. But when I invoke the downloaded JNLP I get…
Harshdeep
  • 5,614
  • 10
  • 37
  • 45
10
votes
2 answers

How to define multiple containers in declarative pipeline?

I was using kuberntes-plugin. In its README it has given how to write scripted pipeline with multiple container images, like podTemplate(label: 'mypod', containers: [ containerTemplate(name: 'maven', image: 'maven:3.3.9-jdk-8-alpine',…
chandan
  • 964
  • 1
  • 19
  • 26
10
votes
5 answers

Local alternative to JNLP file?

Try as I might, I can't get a JNLP file to run locally (via a double-click). It seems to be an issue of locating a jar file, even when I specify it relative to the jnlp file. I get the following error: The field href has an invalid value:…
Ricket
  • 33,368
  • 30
  • 112
  • 143
10
votes
4 answers

Security Exception: MalformedURLException: unknown protocol: socket during opening JNLP file

OS: Windows 7 32-bit JDK: jdk1.7.0_25 I have Studio.jnlp file. I tried to open it by double-click. But I found the error as below: "MalformedURLException: unknown protocol: socket" Details: java.net.MalformedURLException: unknown protocol: socket
Ripon Al Wasim
  • 36,924
  • 42
  • 155
  • 176
1 2
3
93 94