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:

1784 questions
201
votes
5 answers

What is the difference between 'java', 'javaw', and 'javaws'?

What is the difference between java, javaw, and javaws? I have found that on Windows most usage of Java is done using javaw.
user705414
  • 17,800
  • 36
  • 105
  • 151
79
votes
1 answer

What is the difference between runnable jar library handling options?

So I will be using Java Web Start to deploy the java application. When exporting to a Runnable Jar, there are three options in eclipse Helios. Extract required libraries into JAR Package required libraries into JAR Copy required libraries into sub…
KJW
  • 14,248
  • 44
  • 128
  • 236
76
votes
1 answer

How to change the alias of a key within a keystore?

I signed my JWS application MemorizEasy with a key whose alias is: memofile.reference.emma.jar=/Users/simpatico/.netbeans/6.8/modules/ext/emma.jar I don't remember why I chose such a long alias. I suspect it was memo only, but in my project…
simpatico
  • 9,467
  • 17
  • 74
  • 120
49
votes
9 answers

How can I debug applications under Java Web Start (JNLP)?

I know how I can debug a remote Java VM with Eclipse, but how can I do it with a Java Web Start program. I have a problem that only occurs in Java Web Start. It must be security related. I need a solution that will work with a current Java VM like…
Horcrux7
  • 21,867
  • 21
  • 85
  • 134
48
votes
3 answers

How do I upgrade to jlink (JDK 9+) from Java Web Start (JDK 8) for an auto-updating application?

Java 8 and prior versions have Java Web Start, which auto-updates the application when we change it. Oracle has recommended that users migrate to jlink, as that is the new Oracle technology. So far, this sounds good. This comes with a host of…
Henry Crutcher
  • 1,919
  • 17
  • 25
45
votes
5 answers

Java Web Start support in Java 9 and beyond

I'm confused about the status of Java Web Start. On Oracle's Support Roadmap we can read this: Support of Deployment Technology The web deployment technology, consisting of the Java Plugin and Web Start technologies, has a shorter support…
Thierry Guérin
  • 628
  • 1
  • 5
  • 8
41
votes
7 answers

Java 7u51 will not accept JNLP with self-signed certificate?

I read on the web that Java version 7u51 (to be released in January 2014) will no longer accept Java Webstart applications that are self-signed by me. Is that true? In case it is true, do I have any chance to build a workaround for my JNLP…
Fabian
  • 725
  • 2
  • 8
  • 16
40
votes
5 answers

AWS S3 Java SDK - Download file help

The code below only works for downloading text files from a bucket in S3. This does not work for an image. Is there an easier way to manage downloads/types using the AWS SDK? The example included in the documentation does not make it apparent. …
user375566
37
votes
4 answers

How to make a machine trust a self-signed Java application

I'm deploying an application using JAWS, and it worked until late 2013 when I got a warning, and then this morning Java completely blocked it. The message in French is: Application bloquée par les paramètres de sécurité Vos paramètres de sécurité…
Benoit Duffez
  • 9,889
  • 11
  • 69
  • 114
32
votes
2 answers

SecurityException during executing jnlp file (Missing required Permissions manifest attribute in main jar)

OS: Windows 7 64 bit Java: jdk1.7.0_51 I have a jnlp file. When I double click on this, exception is occurred as below: Application Error: Unable to launch the application Exception: java.lang.SecurityException: Missing required Permissions manifest…
Ripon Al Wasim
  • 34,088
  • 37
  • 146
  • 165
30
votes
8 answers

Java Web Start - Popularity

I recently used a Java Web Start application. I launched it from my web browser using an embedded jnlp link in the page I was viewing. The application was downloaded, launched and worked just fine. It had access to my local file-system and …
Joel
  • 27,478
  • 33
  • 104
  • 136
30
votes
5 answers

How do I fix "missing Codebase, Permissions, and Application-Name manifest attribute" in my JNLP app?

With the recent Java updates, many people are having trouble with their Java Web Start apps lacking Codebase, Permissions, and Application-name manifest attributes. Although there are resources out there to help you accomplish this, I couldn't find…
ryvantage
  • 11,982
  • 13
  • 54
  • 98
28
votes
9 answers

How to allow running only one instance of a Java program at a time?

I need to prevent users from starting my Java application (WebStart Swing app) multiple times. So if the application is already running it shouldn't be possible to start it again or show a warning / be closed again. Is there some convenient way to…
räph
  • 3,464
  • 9
  • 32
  • 40
28
votes
2 answers

How to handle java web start (jnlp) downloading progress in a preloader?

Issue I have a preloader for my application that handles the Application-specific initialization. Now I'm trying to extend this so that the preloader also shows the progress of the downloaded application JARs. TL;DR Why is the preloader not…
Perneel
  • 3,228
  • 7
  • 41
  • 63
28
votes
16 answers

I am not able launch JNLP applications using "Java Web Start"?

Up until recently, I was able to launch/open JNLP files in Firefox using Java web start. Don't know what happened all of a sudden JNLP files stopped launching, a splash screen appears saying Java Starting... and then nothing happens. Even the Java…
akjain
  • 1,677
  • 3
  • 20
  • 35
1
2 3
99 100