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
8
votes
2 answers

JNLP FileSaveService opens a file open dialog

Hi I'm trying to save a file from a Java Webstart Application. public class Main { public static void main(String[] args) { try { FileSaveService fos = (FileSaveService) ServiceManager.lookup("javax.jnlp.FileSaveService"); …
keuleJ
  • 3,418
  • 4
  • 30
  • 51
8
votes
4 answers

Continue Browser Session in JNLP

We have basic authentication enabled on Tomcat6. User is authenticated in browser and then JNLP is launched to launch application in Java Web Start. On start-up, java web start tries to download jar files from server but it is not using the same…
Stauz
  • 316
  • 3
  • 12
8
votes
1 answer

Is there any way to reenable javaws with Java 6 on OSX Lion?

With the latest update to Apple's Java 6 on Lion, not only did it disable web browser support, it also disabled Java Web Start. I use javaws with an app that requires Java 6 and 32-bit. Java 6 is still present on my system, but javaws doesn't…
Jim Babka
  • 131
  • 2
  • 3
7
votes
2 answers

JNLP with local codebase - how to update?

It is legal to specify codebase like this: When you import this with JWS it creates desktop shortcut and the application is working. However, one thing is very different from…
Konrad Garus
  • 53,145
  • 43
  • 157
  • 230
7
votes
5 answers

Where can I download JNLP.jar?

How can I run the examples in the link? Where can I get the JNLP developer pack?
Samrat
  • 367
  • 2
  • 4
  • 21
7
votes
3 answers

Launching a desktop application from a web site

Is it feasible to launch an application via a browser / URL? What are the options for doing this? I know the way to do it with IE and Windows (which usually doesn't work). Ideally, I would like this to be browser independent. Our application is…
jconlin
  • 3,806
  • 6
  • 31
  • 32
7
votes
4 answers

How to run existing JAVA Web start application in java 10 or later java 11

My application is developed in java Swings which is 20 years old. For this huge application we are migrating the same on JAVA 10 now and will migrate the same on java 11 or upcoming versions. This application is working fine with java Webstart and…
Gurpreet Singh
  • 71
  • 1
  • 1
  • 4
7
votes
2 answers

Java webstart heap dump

I have been trying to get webstart to dump to a heap dump when it runs out of memory. I know the jmap/jconsole way of doing it, but what I really want to do is add the option to jnlp file and have tried the following options. j2se version="1.6+"…
benjipete
  • 95
  • 1
  • 6
7
votes
5 answers

How to sign Java Webstart application for Java 8u141?

It looks like there has been a change by Oracle similar to Java 7u45, where new manifest values needed to be set to run signed Java Webstart applications (see here). Currently our signed application working with Java 8u131 does not start with…
jan
  • 2,741
  • 4
  • 35
  • 56
7
votes
0 answers

Can I change disabledAlgorithms for a JWS application?

Possible duplicate: java.security.properties in JNLP We have a desktop application that we start using Java WebStart. Starting with JDK 1.8.71, MD5 now disabled for X509 Certificate validating. Unfortunately we cannot change the certificates we're…
Vlad Topala
  • 896
  • 1
  • 8
  • 34
7
votes
3 answers

Any way to have Java Web Start automatically install shortcuts?

We're deploying a Web Start app that I and the other developers know how to install the shortcuts for (Control Panel -> Java on Windows, /Applications/Utilities/Java Preferences on OS X), but we have no reason to believe that end users know how to…
sbook
  • 841
  • 1
  • 8
  • 13
7
votes
1 answer

Java Webstart Truststore SSL

Need some guidance. I have java webstart app and I want it to connect to a server via SSL.just adding a property like:System.setProperty("javax.net.ssl.trustStore","my.keystore");But since a JAWS program is downloaded from server didn't work and…
SPD
  • 247
  • 2
  • 8
  • 23
7
votes
1 answer

Copy all created & third-party jars into a single folder with Gradle

we have a multi-project gradle setup with one Java jar for each subproject: - root-project |-sub-project-a |-sub-project-b |-sub-project-c Now, because we are creating a Java webstart application, we need to sign all project jars as well as…
Dominic
  • 4,572
  • 3
  • 25
  • 36
7
votes
3 answers

Shared jars in apache-tomcat 6.0.20

I'm pretty new to JWS. I have a web application ( several web services ) that I want to deploy using tomcat 6.0.20 on a linux system. Everything's ok if I generate a .war file with all used libraries inside and put it in the webapps directory, but I…
zbigh
  • 457
  • 2
  • 9
  • 16
7
votes
1 answer

JNLP, Webstart, and Maven

I created a simple Hello World Swing application that compiles and runs just fine in Eclipse. I'm now trying to transfer this application over to a Maven package structure and run it as a Java Web-Start application, which is causing me great pain.…
rkoth
  • 133
  • 1
  • 3
  • 10