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

Java Webstart and URLConnection caching API

The description of the URLConnection caching API states as the last sentence: There is no default implementation of URLConnection caching in the Java 2 Standard Edition. However, Java Plugin and Java WebStart do provide one out of the box. Where…
27
votes
6 answers

Java Web Start vs Embedded Java Applet

I'm going to deploy my Java game to show it to my friends and whatnot, but I'm having trouble deciding between Java Web Start and applets. Under what conditions is one preferable over another and what advantages/disadvantages are there?
Matthew H
  • 5,831
  • 8
  • 47
  • 82
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
3 answers

Java vs C++ Qt : what choice for a gentle deployment?

I need a bit of wisdom from the stackoverflow. I'm going to developp a GUI application which will process xml data via forms. I have selected two options : Java (swing or swt) or Qt. I've already try a basic tutorial with both Qt (Qt designer) and…
user777466
  • 991
  • 2
  • 13
  • 21
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
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
21
votes
5 answers

Java Web Start: Unable to tunnel through proxy since Java 8 Update 111

Some of our customers cannot run our Java Web Start client anymore since Java 8 Update 111. They get: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required Looks like it has to do with…
Marcus
  • 1,857
  • 4
  • 22
  • 44
21
votes
6 answers

Where is the jar files cached for Java Web Start/JNLP applications?

Where is the jar files cached for Java Web Start/JNLP applications?
Carl Hörberg
  • 5,973
  • 5
  • 41
  • 47
20
votes
6 answers

Objections against Java Webstart?

Since the release of Adobe AIR I am wondering why Java Web Start has not gained more attention in the past as to me it seems to be very similar, but web start is available for a much longer time. Is it mainly because of bad marketing from Sun, or…
Yaba
  • 5,979
  • 8
  • 38
  • 44
20
votes
3 answers

What prevents Java from verifying signed jars with multiple signature algorithms

Quick background: We release a webstart application, which includes our own application jars and numerous third-party jars. Webstart requires that all distributed jars referred to by the jnlp file be signed by a single certificate. We therefore…
JimN
  • 3,120
  • 22
  • 35
18
votes
5 answers

How do I pipe the Java console output to a file?

I found a bug in an application that completely freezes the JVM. The produced stacktrace would provide valuable information for the developers and I would like to retrieve it from the Java console. When the JVM crashes, the console is frozen and I…
Cedric Meury
  • 953
  • 1
  • 7
  • 19
18
votes
5 answers

Alternatives to Java Web Start?

We're having huge issues with Java Web Start in production. We're afraid to release because every time we do, help desk gets calls from 1/3 users getting an "unable to launch" error. It's hard to tell whether it's because of user error, cancellation…
Konrad Garus
  • 53,145
  • 43
  • 157
  • 230
18
votes
1 answer

"Do you want to run this application" JNLP dialog - conditions for the dialog to be shown again

A user is running a JNLP app which is launched from the browser. The *.jar file launched by the JNLP is signed by a Certificate issued by a trusted CA. For the first time the jar file is launched, the user is asked a question whether he trusts the…
user93353
  • 13,733
  • 8
  • 60
  • 122
18
votes
2 answers

Applet served by Java Web Start, resources requested to WEB Server before look in the JAR files

I am new here and I apologize for my bad English. I have a little problem with an Applet class served by Java Web Start technology. I have some platform dependent JAR files which Web Start download correctly, but when I get the content by…
Roberto Santini
  • 216
  • 2
  • 7
18
votes
7 answers

Java jnlp application blocked by Security settings

I have an enterprise java application that has plenty of jars that are downloaded to the client's jvm cache by a jnlp file. When I start the application I get the following stack trace on Java Console: Exception in thread "AWT-EventQueue-1"…
ali kerim erkan
  • 350
  • 2
  • 3
  • 16