java-web-start

How to start a java-web-start application and wait until it exits?

I just found out that javaws -wait doesn't do what is supposed to do on Windows. It will return before the aplication finishes. This bug is more than 5 years old and closed as won't fix 6281477, so we need a workaround. I looking for a clean solution that will: run unattended (no user intervention): currently if JNLP file is not acc...

How to prevent java-web-start from displaying error popups like "Unable to launch application"

I'm looking for possible ways to start a JNLP application from the command line unattended (no user intervention being required). This means that you will not get things like popup windows telling Unable to launch application if the JNLP file does not exists. ...

How to properly clean old jar versions from java web start caching?

The JNLP is used only to download and update the application, after this the application is started manually from the command line. I discovered that JNLP does not clean the old JAR files from the cache directory and due to that you may end-up loading the wrong JAR files if you load all JARs from the cache directory. I am looking for a...

Is it possible to force cache clearing when a java web start application is updated?

Is it possible to force cache clearing when a java web start application is updated from the command line? ...

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 Web Start - Does it work with Android?

As the title says, is deploying/using applications through Java Web Start a viable option? I found a few posts online from years ago saying that the JavaME applications are only available. ...

Call COM port from webpage

I'm looking for a way to call a COM port from a webpage. I was thinking abut running a Java WebStart (or Flash?) program that opens a local web server that allows to interact with the COM port using JSONP. Are there any show stopping security restrictions on the way that I don't know of? This should be possible: use native libraries ...

How to create a bootup jnlp?

I'm trying to create a jnlp that all it does is launch another. I'd like to do that because the other is bound to changes (names of the resources) for example, while I'd like the one calling it to never change. Has anyone ever did the same? Is it possible? Which of the two jnlps should be the installer-desc? ...

AWTPermission Exception while implementing Automatic update desktop application using java web start

Hi All, I am working in a Desktop application that provides Online Backup of data. In my application i am trying to implement automatic software update feature. For this i am using java web start. I have done the following process for using java web start. 1> created jar with all resources. 2> created jnlp file as : <?xml versi...

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...

Running JWS remotely on 64-bit machine

The problem is that my JNLP file works locally on my 64-bit machine (running on my own machine), and locally and remotely on my 32-bit machine - but not remotely on the 64-bit machine (you see the Java 6... message for a looong time, and then it just terminates!). Any suggestions about how to trouble-shoot this? Should I specify differ...

JWS & Secure Database Connections using Glassfish V3

I need to distribute my Swing application using JWS. I use JPA and connect to both Postgres and MSSQL. How do I ensure secure database connections? Can I use JDBC Connection Pooling configured in Glassfish? If so, how do I configure my app to use it? Best Regards. ...