Questions tagged [java-web-start]

Java Web Start (JWS) is the Oracle technology used to launch rich client (Swing, Java-FX, SWT, AWT..) desktop applications directly from a network or internet link. It offers 'one click' installation for platforms that support Java.

Java Web Start

Java Web Start (JWS) is the Oracle Corporation technology used to launch rich client (Swing, Java-FX, AWT, SWT..) desktop applications directly from a network or internet link. It offers 'one click' installation for platforms that support Java.

With JDK 9 JWS is deprecated and will be removed in future release!

JWS provides many appealing features including, but not limited to, splash screens, desktop integration, file associations, automatic update (including lazy downloads and programmatic control of updates), partitioning of natives & other resource downloads by platform, architecture or locale, configuration of run-time environment (minimum J2SE version, run-time options, RAM etc.), easy management of common resources using extensions..

By default, an applet-like security sand-box is applied to code launched using JWS. To relax this sand-box the code needs to be digitally signed by the provider, and trusted by the end user. Any application launched using JWS also has access to the JNLP API. The JNLP API provides services for sand-boxed applications to achieve functionality (such as printing, opening a browser or accessing the local disks) that is normally reserved for trusted applications.

JWS applications have three security levels. The first (sand-boxed) and third (all-permissions) are equivalent to the applet sand-boxed and trusted modes. The one in between is (the oddly named) j2ee-application-client-permissions. This security level provides some services unprompted, while still placing many limits on the application.

JWS was first offered as a separate download on 14 March 2001 over two years after the release of Java 1.2, and could launch both applications and applets as free floating entities. The functionality became co-bundled with J2SE 1.4.2. Since 1.6.0_10 (the Next Generation Java Plug-In), JWS can also be used to configure applets that remain embedded in a web page.

See also:

1800 questions
18
votes
6 answers

Signing a jar file with trusted certificate for JWS deployment

I've developed an open source program, WPCleaner, which is distributed through Java Web Start. Current version is available at http://site4145.mutu.sivit.org/WikiCleaner/WikiCleaner.jnlp With the recent updates in Java, it becomes more and more…
NicoV
  • 293
  • 1
  • 4
  • 13
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
18
votes
4 answers

Problems launching the slave agent via Java Web Start on Jenkins

We have recently upgraded Jenkins to the latest verion. and since then ive not been able to launch the slaves via Java WebStart through the command line everytime I try to launch it I get "Unable to Launch the application" error with this in the…
AltF4_
  • 2,312
  • 5
  • 36
  • 56
18
votes
7 answers

The digital signature is not trusted. Java will not allow any access to this application

I have a Java Web Start application, which I've tested on Windows 7, Linux and Mac OS X 10.7 (works fine on all). On Mac OS X 10.8 Mountain Lion the following error occurs, with no option to choose "Allow". The error looks like this: Does anyone…
sudo
  • 319
  • 2
  • 4
  • 10
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
3 answers

How can I Java webstart multiple, dependent, native libraries?

Example: I have two shared objects (same should apply to .dlls). The first shared object is from a third-party library, we'll call it libA.so. I have wrapped some of this with JNI and created my own library, libB.so. Now libB depends on libA. When…
basszero
  • 29,624
  • 9
  • 57
  • 79
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
17
votes
4 answers

How can I get early access to Oracle Java updates, so I can test my RIA and avoid fire-drills when these updates are made public?

Having had our application stop working when customers installed the 7u45 update, we're wondering what more we can do in the future to be ready for these updates up-front and avoid release-day support nightmares. (Per the Java version numbering…
Matt McHenry
  • 20,009
  • 8
  • 65
  • 64
17
votes
5 answers

NullPointerException in invokeLater while running through Java Webstart

After upgraded from JRE 1.7.0_21 to 1.7.0_25-b15 my application started to throw NullPointerException in SwingUtilities.invokeLater(...) when it is run from Java WebStart. Surprisingly when it is executed as a standalone application (outside JWS),…
digital_infinity
  • 534
  • 6
  • 20
16
votes
3 answers

Testing java web start application using jemmy

I need to create some gui tests using Jemmy but I have no idea how to launch it with javaws application. In tutorials/examples/etc is something like that: new ClassReference("org.netbeans.jemmy.explorer.GUIBrowser") …
mlethys
  • 436
  • 9
  • 29
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

Why does Java Web Start redownload jars from JBoss?

We just discovered that every time we restart JBoss, all of our Java Web Start clients redownload all of their jars, instead of reusing the cached jars, even if our application has not changed. From what I've seen on the web, Java Web Start does an…
skiphoppy
  • 97,646
  • 72
  • 174
  • 218
15
votes
5 answers

java web start alternative

We're looking for an alternative to Java web start that effectively does the same thing, just better implemented. We're having massive trouble with it. We have a few offices of XP desktops, all slightly different and so far only a handful have…
David
  • 1,862
  • 2
  • 22
  • 35
15
votes
10 answers

Opening JNLP File in Java 6 JRE instead of JRE 7

I have Java 6-based Java Web Start application that I need to open on a Windows machine. The machine has JRE 7 installed, with JRE 6 copied manually to the Program Files folder. The problem is that whenever I want to open the JWS application, it…
Ariod
  • 5,757
  • 22
  • 73
  • 103
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