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

Passing command line arguments to javaws (Java WebStart) executable

Summary for those who might not want to read that much: How do I do this: ? If we could pass ad-hoc command-line args to javaws, then javaws apps could be more like "1st class citizen" "ordinary application". E.g. we could pass filenames of files to…
KarolDepka
  • 8,318
  • 10
  • 45
  • 58
11
votes
4 answers

Does Java Web Start require that the Java browser plug-in is enabled?

To protect our users from maliciuos applets I wanted to disable the Java browser plug-in. In a test (JRE 7) I noticed that deactivating the plug-in also disables Java Web Start. We need to use one Web Start application so it seems that we have no…
mjn
  • 36,362
  • 28
  • 176
  • 378
11
votes
1 answer

Connection details & timeouts in a java web service client

I have to implement a webservice client to a given WSDL file. I used the SDK's 'wsimport' tool to create Java classes from the WSDL as well as a class that wrap's the webservice's only method (enhanceAddress(auth, param, address)) into a simple java…
f1sh
  • 11,489
  • 3
  • 25
  • 51
11
votes
2 answers

Java Web Start Error "Can not find message file"

I have have two versions for the javaws.exe one under C:\Program Files\Java\jre7\bin & the other under C:\Program Files\Java\jdk1.7.0_06\bin. but when I click on the C:\Program Files\Java\jre7\bin\javaws.exe I got the following error "Can not find…
John John
  • 1
  • 72
  • 238
  • 501
11
votes
2 answers

Java Webstart with parameters

Can I launch a Java WebStart application with a set of parameters just like an applet is configured with the tags ? Thanks
Pierre
  • 34,472
  • 31
  • 113
  • 192
11
votes
2 answers

Generate JNLP dynamically

I need to pass argument to JNLP dynamically for which I tried using a servlet which extends JnlpDownloadServlet and then includes a jsp which has all the JNLP XML written into it. But when I invoke the downloaded JNLP I get…
Harshdeep
  • 5,614
  • 10
  • 37
  • 45
10
votes
1 answer

Alternative to Preferences in Java

I'm using the Java Preferences API to store and retrieve small pieces of information in a swing/java application. Now i have setup Java Web start to launch the application from my web page, and I get a security exception. In order to get rid of this…
Joel
  • 3,427
  • 5
  • 38
  • 60
10
votes
4 answers

Using Java Compiler API without requiring install of JDK

Hello All I am writing some software that will allow users to create their own Java classes for a specific use in my software package. Obviously, my software will need to be able to invoke a Java compiler to compile the user-generated classes for…
Marc
  • 3,386
  • 8
  • 44
  • 68
10
votes
2 answers

Bidirectional synchronisation between Amazon s3 bucket and physical server

We have a folder in physical server and need to synchronise with one of our Aws s3 bucket. But here the requirement is , we have to synchronise the contents in both the ways (Changes done in the physical server should reflect in Aws S3 bucket and…
Pramod Gouda
  • 163
  • 2
  • 10
10
votes
3 answers

java 8u31 plugin causes signed applets to load much slower

i have noticed that signed applets are loaded much slower with the latest plugin (included in java 8u31 and 7u75). I have debugged the situation quite a lot and i found out that the problem is directly related to the size of the jar files that are…
user3406992
  • 113
  • 2
  • 8
10
votes
1 answer

How to debug Java Web Start applications?

I have a Java Web Start Application that I launch from live site by downloading a tailored JNLP file. The problem is that once the Java Web Start application has loaded, the application quits without any warning. I know that the certificate is OK…
jsalonen
  • 29,593
  • 15
  • 91
  • 109
10
votes
1 answer

add permissions attribute in manifest third party jars using maven

How can we add additional parameters to manifest file using Maven to third party jars. After Java 7_25 version the Java web start requires codebase and permissions to be add in all downloading jar files. I want to insert them jar singing…
sats
  • 167
  • 1
  • 2
  • 10
10
votes
4 answers

Security Exception: MalformedURLException: unknown protocol: socket during opening JNLP file

OS: Windows 7 32-bit JDK: jdk1.7.0_25 I have Studio.jnlp file. I tried to open it by double-click. But I found the error as below: "MalformedURLException: unknown protocol: socket" Details: java.net.MalformedURLException: unknown protocol: socket
Ripon Al Wasim
  • 36,924
  • 42
  • 155
  • 176
10
votes
4 answers

How to recreate shortcut to webstart application?

I use the shortcut tag in my appliation's jnlp descriptor to create a desktop link and a menu entry for my application. If these shortcuts get deleted on the client - how can they be reinstalled automatically without user action? Is there a…
räph
  • 3,634
  • 9
  • 34
  • 41
10
votes
1 answer

How to load a resource JAR with filenames including umlauts?

I am working on a Java Webstart Application. This is supposed to gather resources from a JAR file that is included in the resources section in the JNLP file. The application language is German, so some of the folders/files in the JAR include the…
Willi Mentzel
  • 27,862
  • 20
  • 113
  • 121