webstart

Generate java JNLP files?

I have a java application that reads a resource folder containing a bunch of .jar files. For some of these .jar files corresponding JNLP files must be created based on default schema and stored in the same directory. Are there good approach to create these JNLP file from a java application (and maybe add some data from the .jar files in...

Reading files in Java Web Start

I have an application that has some 3rd party libraries that require some configuration files to exist. I put these in jar files so they can be deployed using JWS. I know that you can read files from the jar file using getResourceAsStream(), but the 3rd party libraries don't do that. I have tried reading them out of the jar with getRe...

Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space

Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.<init>(Unknown Source) at java.awt.image.Raster.createPackedRaster(Unknown Source) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source) ...

Version property on jars in Web Start

In a JNLP file, is the version property for a jar resource related to any metadata (e.g. manifest) or is it just arbitrarily set by the user creating the JNLP file? ...

Empty error dialog on start in case of UnknownHostException

When I'm starting rich client application with JNLP it does some requests to remote servers. Some of this requests are intended to check if the servers available or not. If they aren't available the client catches, for example, UnknownHostException and it's a completely valid and expected case. However, if I specify proxy settings in a...

java webstart: Could not launch from cache. Will try online mode.

Hello I am getting the below error when I start java webstart application. Could not launch from cache. Will try online mode. [Some of required resources are not cached.] I am running in JRE6 environment. ...

Cancel a Java Webstart custom download

Hi, when you download a resource in a Java Webstart application there's usually a download progress window displayed which shows the progress of the download. If this window is the default progress window, it has a cancel button. I'm basically trying to implement this cancel button in a custom download progress window. As there is no m...

Java web start dos and don'ts?

We are considering using java web start as our client server strategy. What is your experience with this technique? What do you like and dislike about it? ...

is it possible to load jars-in-jars in JWS?

Hi, I have found MANY threads on packing all dependencies along with the project into one jar package, and it seems like there are many different ways to achieve this (oneJar, FatJar, Ant-build...) So cooking up my own recipe, I have (after quite some effort) managed to package the project I am working on. In this one jar file, there i...

java webstart extremely slow

I have to deploy a Java application via Java Webstart. Webstart downloads the application jar and library jars needed, then after everything was downloaded there is a 50 second delay before the application starts. Running the jar directly on the computer loads almost instantly, so it's not the application jar which is causing the probl...

Java Web Start deploy on Windows startup

I have a Java application that I'm about to begin to use Web Start to deploy. But a new demand has made me rethink this, as I'm now required to add a piece of functionality that allows the end user to select whether or not they'd like to run this program on startup (of Windows, not cross-platform). But I'd still like to shy away from mak...

Accessing services on web sites other than the web start clients own domain?

I am working on a web start client in java. I need to connect to other servers than from were the client is downloaded from. I thought I need to sign my jars but this (http://download.oracle.com/javase/tutorial/deployment/deploymentInDepth/signing.html) document describes that: Accessing services on web sites other than the RIA's ow...

Java WS application ignoring arguments sporadically

I have recently put together a JWS application which gets it's argument from a dynamically created JNLP file (details can be found here). It's all good except the application ignores the argument (starts without loading the specified number) on my system (linux x86_64). It seems however that the JWS application exactly as intended on the...