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

Java Web Start security warning alternative

I have a shell script that automates a bunch of things. One of the things it needs to do is run a javaws script. Right now it runs as follows in the shell script: javaws /tmp/jnlpgenerator-cli This causes the security warning to pop up which says :…
Azp
  • 45
  • 5
0
votes
1 answer

JNLP fonts not working

In my program, I use a ttf file for fonts, and when running the jar, the fonts work perfectly, but when run through java web start, the fonts are only half working. my application is a search engine, so when I search, the program is using the font…
Mukhi
  • 143
  • 12
0
votes
1 answer

Modifying Windows Firewall rules from Java Web Start (JNLP)

I have a Java Web-Start-based application, which utilizes several native ".exe" utilities. All jars are signed and the app gets all possible permissions from the user ( in the .jnlp descriptor). The problem is…
Alex Fedulov
  • 1,442
  • 17
  • 26
0
votes
0 answers

java and signed jars on Mac

I have a thick Java client that is launched as jnlp. The jars are all signed. this application works on all OSes except on Mac OSX 10.5.8. Using Safari or FireFox, when I launch the app, I get the following error: java.lang.NullPointerException at…
reza
  • 5,972
  • 15
  • 84
  • 126
0
votes
0 answers

JNLP Desktop.browse doesn't work when application ran from server. How do I fix this?

Scenerio: I have a jframe on on java webstart application that has html (clickable)link. When I run the application as a java application from eclipse it works. But when I launch it from a jboss/tomcat server the link fails to work. Additional…
stackoverflow
  • 18,348
  • 50
  • 129
  • 196
0
votes
2 answers

PermGen space error received when starting an application with Java 64 bit

I have an Eclipse (plugin-based) application, which I try to start with Java 64bit from a jnlp file (I used maven tycho to build it). Shortly after starting the application, it doesn't respond anymore and sometimes it even closes automatically. If…
Jenny Smith
  • 2,987
  • 6
  • 29
  • 32
0
votes
2 answers

JNLP download location for jars on to your local system.

Is there a way to determine where the jars have been downloaded while accessing JNLP file. Can it be governed programatically.? I need to extract a resource from jar to use it for further processing. It would be better even if I can specify that…
Harshdeep
  • 5,614
  • 10
  • 37
  • 45
0
votes
0 answers

When started with jnlp, Hibernate freezes while trying to connect to db

I've created a runnable jar and I can start it either using "java -jar abc.jar" or using a jnlp: abc
Markus
  • 2,174
  • 2
  • 22
  • 37
0
votes
2 answers

include jar file libraries in cli

i am working on a project that uses a jnlp file. in there there are resources specified like this: [code]
tk66
  • 274
  • 7
  • 20
0
votes
1 answer

JavaFX Native libraries

I create a simple Java Map Scene in JavaFX. I put jfxrt.jar into my lib folder in project, but I also need native libraries to use some components: for example glass.dll on Windows and libglass.dylib on MacOsX. I have got few queston: Where I…
Piotr Sobolewski
  • 2,024
  • 4
  • 28
  • 42
0
votes
2 answers

JNLP not loading properly during loadtime

I have a Swing app, that I start using JNLP. When I start using JNLP, the UI does not load fully. Like only the top task-bar loads but when the button in the task-bar is clicked, which is used to connect to Database, then the whole app loads…
siva
  • 1,105
  • 4
  • 19
  • 38
0
votes
1 answer

JNLP application with Java 7 - not starting

I have a swing application which works fine as the desktop application but the same application when started using a jnlp, not starting without showing any errors I have compiled using the classes using Java7 and created a jar and then after…
siva
  • 1,105
  • 4
  • 19
  • 38
0
votes
1 answer

create new File in signed jnlp applet

I need to save some image files from user directory to the project folder on server, but I cant find working solution. What is the simplest way to select file in users pc and copy it to the server? And what url may I use to acces this file?
0
votes
1 answer

How to force firefox to open page with java web start?

I have a storage box admin page that's supposed to open with Java Web Start. However, on all browsers on my MacBook, this doesn't happen and instead I just get a html page saved with contents: "v6.3.1a Web Tools 10.1.18.222 ". Looking at the…
helpmelearn
  • 381
  • 1
  • 6
  • 16
0
votes
2 answers

Eclipse RCP application using Java web start not starting up

I am attempting to run an Eclipse RCP application using Java Web Start. However, I encounter this error after the application is downloaded and run: JNLP JREDesc in Component ignored: null After that, the application closes. What is the workaround…
jackeblagare
  • 407
  • 7
  • 21