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
0
votes
3 answers

How to run a JNLP file with SQLite DB?

I'm new to JavaFX. I have a JavaFX Application which is generating a jar and a JNLP file. As a DB I'm using SQLite db. The system runs fine when running it on Netbeans IDE but does not get going with built files (jnlp, jar). Problem is the JNLP is…
prs
  • 133
  • 5
  • 14
0
votes
0 answers

unable to access java web start using desktop link while it is accessible using web url

I am unable to access Java web start application using desktop shortcut while I can access it using the web URL. com.sun.deploy.net.FailedDownloadException: Cannot download resource. System is offline. at…
Ashish
  • 14,295
  • 21
  • 82
  • 127
0
votes
1 answer

JWS client to write a file to lib/ext

Is it possible (maybe using Java security) for a Web Start application to write a file into java.home\lib\ext on the client's Windows XP? I need this regardless of the user credentials as defined by Windows.
val pop
  • 63
  • 3
0
votes
1 answer

Can jnlp file be generated dynamically by the response from the server?

Possible Duplicate: Can a java web start application exist without .jnlp file? My application neither have a jnlp file nor main() method But it is a java web start application. Is there anything like when we start application by requesting…
Pankaj
  • 2,057
  • 3
  • 15
  • 10
0
votes
1 answer

Starting JavaFx application via jnlp WebStart - not loading system native libraries defined in jnlp descriptor

I'm developing a JavaFX application which uses a webcam. To be able to access camera, I was forced to use opencv libraries and javacv which uses native opencv shared libs. Now I want the native dlls to be installed somehow on user machine so that…
voytech
  • 380
  • 3
  • 13
0
votes
2 answers

web.xml url-pattern - serving both application wide together with more specific

I'm learning Vaadin and Java web development. Vaadin suggests to redirect all the URLs to com.vaadin.server.VaadinServlet via use of /* in web.xml. I also want to handle some additional URLs with separate servlets,…
Piotr Górny
  • 61
  • 1
  • 6
0
votes
2 answers

Send userId at java web start from web page

I'm developing a JSF2 site where the users may start a java application through java web start. The app parses mp3 metadata and sends back a xml file with the parsed information. I need some way of identifying the user for each file that is sent to…
nivis
  • 913
  • 3
  • 17
  • 34
0
votes
1 answer

Dynamically create response in JSF

I want to have a link on my JSF page. When you click this link, a Java Web Start application starts. The application doesnt affect the current page at all. The application just starts on its own. The problem is, I the JNLP file that starts the Java…
user489041
  • 27,916
  • 55
  • 135
  • 204
0
votes
1 answer

Seamless data transfer between the system-wide clipboard and the sandbox inside of a Java applet via JNLP - possible?

I am currently trying to implement the ClipboardService that's provided by the rather new JNLP API to access the system-wide clipboard inside of an Java applet that I launch via JNLP. What I want to do is, as soon as Ctrl+C is pressed, to copy the…
dcode
  • 604
  • 7
  • 10
0
votes
0 answers

Creating a desktop icon using JWS JNLP without codebase

I have my .jnlp and jar file on my desktop and it creates a shortcut. If I specify the codebase it even sets the image. I have removed the codebase and If no codebase is specified, the Java Web Start software assumes that the codebase is relative…
Srikanth Sridhar
  • 2,317
  • 7
  • 30
  • 50
0
votes
1 answer

JNLP API to retrieve the j2se element(s)

Is there a way to programatically find the j2se value(s) in the jnlp file, from within an extension installer (java code)?
val pop
  • 63
  • 3
0
votes
1 answer

JNLP to install an extension JAR

We need to package an extension jar file when deploying a Java client with webstart. The extension jar need to be installed under jre/lib/ext and make it available to the java client when started by WebStart. I managed to copy the files to the…
val pop
  • 63
  • 3
0
votes
1 answer

UnsatisfiedLinkError with javaws

I am trying to use android screen cast. http://code.google.com/p/androidscreencast/ All the requirements that is said for installing is there..This is the error I get, $ javaws androidscreencast.jnlp $ java.lang.UnsatisfiedLinkError:…
user340
  • 375
  • 12
  • 28
0
votes
1 answer

Safari Issue: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file

Facing issue invoking java applet from my jsf page using JNLP file on Safari browser in Windows: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file I am able to invoke the same applet properly in Firefox, Chrome and…
0
votes
0 answers

How to resolve "AWT-EventQueue-0" exception while running applet launched via JNLP

I am getting Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException while running applet launched via JNLP. My applet code is package com.oprs.common; import java.awt.BorderLayout; import java.awt.Container; import…
Srikanth Sridhar
  • 2,317
  • 7
  • 30
  • 50