webstart

Mini-OSGi that can run in a sandbox (like AppEngine or WebStart)?

I really like the concept of modular bundles as implemented by OSGi. I also like "managed deployment" services like Google AppEngine (for web application) or Java WebStart (for client software). These two ideas seem to complement each-other rather well conceptually. However, the OSGi standard includes a couple of features that make i...

Java WebStart: <property ...> ignored when using <extension>?

I have a problem modernizing a Java WebStart application under Java 6 u 13 (the latest at this moment) We desire to use the new mechanism to have several master configuration files each with their own configuration , which then "include" another jnlp file which is autogenerated to ensure that the jar list is accurate. After quite a...

Is it possible to use Java webstart execute .exe or dll?

Hi Gurus, I know java webstart is running under a secure sandbox. Is it possible to include a .dll/.exe in the jar (or have the webstart download it to the local machine) and then execute it (using Runtime.exec or process,etc) Please Advise. Any suggestion/comment is welcome! ...

Java WebStart and endorsed directories

How do I specify in java webstart .jnlp file, that some of my jars are overriding the JRE builtin implementations? Just like the endorsed lib property on a regular application. ...

Deleting Java's "temporary internet files"

In the Java Control Panel on Windows there are settings for "temporary internet files" wherein all the applets and webstart stuff is cached. For certain users of our application this caching doesn't work properly and they need to delete all the files through the control panel before our webstart application will update itself properly. ...

java 6 broke webstart application installation with error 'java.lang.Exception: cache failed for'

After upgrading to the latest java version (Java 6 update 13) a webstart application that was being used in production environments for many years, stopped installing with the following error: java.lang.Exception: cache failed forhttp://localhost:8080/ReactorStudio/studio/installer.jnlp at com.sun.javaws.Launcher.updateFinalLaun...

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 achieve this? I thought about blocking a port or write sth to a file. But hopefully you ca...

Applet (or WebStart application) calling a server : best practices ?

I'd like to write an applet (or a java Web start application) calling its server (servlet?) to invoke some methods and to send/retrieve data. What would be the best way/technology to send and to retrieve those message ? ...

why do I get UnsupportedClassVersionError in jnlp?

I get an UnsupportedClassVersionError thrown when launching jnlp, however when I try to run the relevant jar files from command line everything works fine. I tried setting j2se versions to 1.5+, 1.6+, using signed/unsigned jar files, but all that doesn't help. I'm trying to launch my own jar file with two supporting jar files (mysql-con...

Why some times Java does not request for new versions of jar files?

Every time we update our Java application (Java client and Java server) we have the problems that some clients approx. 1% - 2% does not load the new jar files. This occur with applets and also with Java Web Start. If you clear the Java Cache then all is working correct. Any idea why Java does not check for new jar files on every start? ...

Using Netbeans to design GUIs and the ability to start with Web Start.

I designed a GUI program using Netbeans 6.5 on a computer running Vista. I uploaded it to my server and tested out the web start. It worked fine. Later when using a Mac, it was not able to work. I tested it out in Ubuntu and was unsuccessful as well. I even tried to compile the source code on Ubuntu and I got this: Task required to...

Can I supress the loading dialogs in Java Web Start?

I'm trying to put together a Java Webstart app, but don't want it to display the Webstart splash screen, or "downloading app" boxes. Is there any way I can turn them off? (I'm fine with it displaying the Permissions Request box, but nothing else). ...

Java Webstart with parameters

Can I launch a Java WebStart application with a set of parameters just like an applet is configured with the <param> tags ? Thanks ...

Launch Runnable Jar from Web Start

This is my first time trying to use Web Start, and I am trying to launch my runnable jar. I get the following error from my webpage as I click the link to launch the jar. Can anyone help me out? The Notepad example from the tutorial works fine from another link on the test page (JNLP and jar in same folder as I have too). The jar and jnl...

JNLP doesn't show splash screen when launching from a desktop icon

Hello. I have been able to create a JNLP file, which successfully sets up a splash screen & a desktop icon for a Java program launched through Web Start. Here's the relevant chunk of the JNLP: Now, to launch the program, I find I can either click on the JNLP, in which case the splash screen shows, or on the desktop icon, in w...

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 configuration option for the jnlp file? (btw I'm using java6) ...

How to get updated jnlp file when using shortcuts?

If my jnlp descriptor on the server changes and I start my application from the browser, a new jnlp file will be created in the cache and my desktop shortcuts will be updated to use the new jnlp file. (that's good so far). But if I start my app using the desktop shortcut (or the menu entry), then my app won't know about the changed jnlp...

Passing command line arguments to javaws (Java WebStart) executable.

Hi. 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 be opened. I would like to know if there is a way to pass "ad-hoc" command line arg...

Java Webstart with Tibco Native Libs

I am trying to deploy an application that uses the native implementation of Tibrv through the TibrvJ library using Java Webstart. I have packaged up all of the Windows dlls from inside c:\tibco\tibrv\bin into a Jar file and have added these to the nativelib element in the JNLP file. I was hoping that webstart would take the dll files ...

redirecting a java web start app logs to a file

We have an application that we access over Java web start internally at our office. all the logs produced by the app are displayed in Firefox's console. what I want to do is to redirect that to a file. is that possible ? and how to do that ? P.S : the application is designed as follow : a client app that accesses an EJB on a server....