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
50
votes
10 answers

How can I debug applications under Java Web Start (JNLP)?

I know how I can debug a remote Java VM with Eclipse, but how can I do it with a Java Web Start program. I have a problem that only occurs in Java Web Start. It must be security related. I need a solution that will work with a current Java VM like…
Horcrux7
  • 23,758
  • 21
  • 98
  • 156
45
votes
11 answers

Error message "The server selected protocol version TLS10 is not accepted by client preferences"

I am trying to run this JNLP file on Windows 10 to connect to a server (actually, I am connecting to a dedicated server via KVM over IPMI (IPKVM) or whatever it is called, so I can install a new operating system). I am getting error The server…
Frank Martin
  • 3,147
  • 16
  • 52
  • 73
42
votes
8 answers

Java 7u51 will not accept JNLP with self-signed certificate?

I read on the web that Java version 7u51 (to be released in January 2014) will no longer accept Java Webstart applications that are self-signed by me. Is that true? In case it is true, do I have any chance to build a workaround for my JNLP…
Fabian
  • 775
  • 2
  • 8
  • 18
37
votes
3 answers

All possible values os.arch in 32bit JRE and in 64bit Jre

I need latest compilation of all possible values of the os.arch property in JRE 1.6 on Linux,Solaris and Windows. If possible please Quote the source of your findings. I need this values to select resources in my JNLP file. Basically I need to…
Brahma
  • 473
  • 1
  • 4
  • 8
32
votes
2 answers

SecurityException during executing jnlp file (Missing required Permissions manifest attribute in main jar)

OS: Windows 7 64 bit Java: jdk1.7.0_51 I have a jnlp file. When I double click on this, exception is occurred as below: Application Error: Unable to launch the application Exception: java.lang.SecurityException: Missing required Permissions manifest…
Ripon Al Wasim
  • 36,924
  • 42
  • 155
  • 176
31
votes
17 answers

I am not able launch JNLP applications using "Java Web Start"?

Up until recently, I was able to launch/open JNLP files in Firefox using Java web start. Don't know what happened all of a sudden JNLP files stopped launching, a splash screen appears saying Java Starting... and then nothing happens. Even the Java…
akjain
  • 1,787
  • 3
  • 20
  • 35
30
votes
8 answers

Java Web Start - Popularity

I recently used a Java Web Start application. I launched it from my web browser using an embedded jnlp link in the page I was viewing. The application was downloaded, launched and worked just fine. It had access to my local file-system and …
Joel
  • 29,538
  • 35
  • 110
  • 138
30
votes
5 answers

How do I fix "missing Codebase, Permissions, and Application-Name manifest attribute" in my JNLP app?

With the recent Java updates, many people are having trouble with their Java Web Start apps lacking Codebase, Permissions, and Application-name manifest attributes. Although there are resources out there to help you accomplish this, I couldn't find…
ryvantage
  • 13,064
  • 15
  • 63
  • 112
29
votes
9 answers

How to allow running only one instance of a Java program at a time?

I need to prevent users from starting my Java application (WebStart Swing app) multiple times. So if the application is already running it shouldn't be possible to start it again or show a warning / be closed again. Is there some convenient way to…
räph
  • 3,634
  • 9
  • 34
  • 41
28
votes
2 answers

How to handle java web start (jnlp) downloading progress in a preloader?

Issue I have a preloader for my application that handles the Application-specific initialization. Now I'm trying to extend this so that the preloader also shows the progress of the downloaded application JARs. TL;DR Why is the preloader not…
Perneel
  • 3,317
  • 7
  • 45
  • 66
27
votes
5 answers

Found unsigned entry in resource

i have the following JNLP file: TCM 2012 Drift og Performance, *** Servicecenter
Marc Rasmussen
  • 19,771
  • 79
  • 203
  • 364
25
votes
5 answers

With Java 7 Update 45, the System Properties no Longer Set from JNLP Tag "Property"

We run the application from the attached JNLP. On the Java console, we have output the system properties with D. The properties from our JNLP files are not set any more. This is the first Java version that we get this sort of problems with.…
user2885888
  • 259
  • 1
  • 3
  • 4
23
votes
4 answers

Missing Codebase manifest attribute for:xxx.jar

When I launch application from jnlp I receive message "Missing Codebase manifest attribute for:xxx.jar" what does it means?
user590444
  • 4,252
  • 8
  • 36
  • 43
23
votes
6 answers

Troubleshooting a Java Web Start application and accessing log files

I am launching a Java Web Start application which shuts down abruptly. Does anybody know how to access the logs for Java Web Start. Are there any known reasons for it to shut down abruptly?
crazypaladin
  • 453
  • 4
  • 7
  • 17
22
votes
3 answers

invalid SHA1 signature file digest

I have been trying to verify the Jar signing: jarsigner -verify -verbose -certs example.jar I got the following problem: jarsigner: java.lang.SecurityException: invalid SHA1 signature file digest for…
Nasser
  • 2,118
  • 6
  • 33
  • 56
1
2 3
93 94