webstart

How to include external configuration for webstart application

I have webstart application that needs external configuration. Configuration must be external, because it will be changed manually by our customer. I considered adding another jar with this configuration. Application is signed and giving our keys to customer is not a option. I'm leaning towards placing this file to be accessible from web...

Force VM to launch in 32-bit mode WebStart JNLP

I am running a Java 32-bit app on Mac OS X Leopard via Web Start. I need to make sure the VM loads in 32-bit mode. How can I do this in the JNLP? ...

Does Java Web Start give a default program folder?

For Java Web Start is there a default place to store and access data related to my program? Or do I need to create a folder? For Java Web Start (assuming I don't get a program folder) is it standard to just create on in Program Files for window, Applications for mac, etc? ...

SWT and Java WebStart on Mac OS X 10.5

I am using the most stable SWT Cocoa downloads for Mac OS X and and launching my app via Java WebStart. All jnilib files are within my app jar on its root. The app downloads, verifies, but I cannot get any buttons to respond. I can enter data into all my UI components. My VM arguements are "-d32" and "-XstartOnFirstThread". The app work...

why not use java web start instead of other RIA frameworks?

There are many RIA frameworks popping up (flex, extjs, gwt to name very few). If my server is written in Java, why not use java web start? The benefits I see: I get to program in a language that is easy to debug (compared to javascript), I can use the same code in server and client side (validations, model objects). With SWT I get ni...

Is it valid to sign a Java war file and include the MANIFEST.MF in <war root>/META-INF

I am looking to sign a war file for distribution via Java Web Start. As I understand it, the jar signer tool ignores the contents of the META-INF directory so that the signing process does not change the digest value of the jar file. Will this same process work for a war file? I've never used a META-INF directory in the root of a war ...

Java Web Start: How to write files to windows UNC Path?

I have an Java application for copying large amounts of data from users' workstations to a server. The java.io.File class is supposed to work with UNC paths very well and in fact it does but only when I run the app in standard execution model. When the application is launched via Web Start I get a FileNotFoundException when trying to op...

Automation server can't create object - Microsoft JScript runtime error

Hi, I am trying to run a Java webstart application which is launched from a html page. While loading I get an alert with the message "Automation server can't create object" a couple of times after which the applications starts and works fine. The alerts come up only on one of the workstations. Any pointers on where I should look? Regards...

SWT and Webstart on Mac

I'm trying to develop a UI using SWT and Java Webstart. As a starting point I've created a simple app that works fine with Windows and Linux, but fails to work on Mac. My test app is available here. There are also links to the jar files and class code. Can anyone explain how to make this work on Mac? ...

Java Web Start (JNLP) Loading Message

Is it possible to display a custom loading message when a user loads a java web start application from a webpage? Maybe a progressbar or something similar. Users with slow connections see "Java Loading..." for far too long while the jars are downloaded for the first time. ...

jnlp webstart nativelib: how to specify different architecture for os

hello, in a java webstart file (jnlp) you can specify the nativelib tag to load binaries. you can also specify toload different ones for different operating systems by also specifying the os attribute. for example: <resources os="Linux"> <nativelib href="....jar"/> </resources> <resources os="Windows"> <nativelib href="....jar"/> </...

Maven webstart plugin not finding dependencies

Hoping someone can help me with this strange one. I’m trying to run the webstart plugin but it doesn’t seem to be able to find the main class within the jar being produce. The pom is as simple as it can get, and the class Test exists, and is being compiled and placed in the jar. Can someone please point me in the right direction? 4...

What can I do to make jar / classes smaller?

I'm developing a Java Applet, and reducing the size of the binary code will make the applet open faster and will improve the user experience. Is there anything I can do to reduce the size of classes and / or jar files? I want to be sure I'm not missing obvious tricks. I know that in the C++ world compiler options for e.g. stripping deb...

How to suppress the keystore password prompt when using Java Webstart with client auth?

Is there a way to suppress the password prompt when using Java Webstart with a https server that uses client authentication? I would like to do this, because the webstarted app runs on a touch screen device that got no keyboard and runs in a kiosk mode. Therefore it would be sufficient to either remove the password from the keystore or t...

Copying only non-existent files in ant

I'm deploying my project to a web-server to be deployed with java Web Start. However, Web Start uses modification date to figure out whether to download the resources again (by default). What I want is a way to only deploy those (jar) files that do not already exist. This is made possible by having build-version numbers on all my jars, ...

threading issues with java swing and web start

EDIT: After fixing a few issues, the bigger issue that I am having is being caused by Apache POI which I am using. I am working on figuring that out now. Apparently it is being restricted by the Sandbox. I'm very new to Swing, and created a small Swing app that I now need to have run via web start. I'm trying to use the FileOpenService ...

where can I see exceptions thrown from within a java web start app?

I'm trying to debug a locally running java web start application. There is a call failing that I am trying to get a stack trace for, but it appears that nothing is ever getting printed out anywhere. The app just appears to be doing nothing. Thanks! ...

profiling a web start application

There are a lot of java profilers out there, any recommendations as to what would be best for profiling a java web start application that is being deployed to glassfish inside a war? ...

Determine classes used by a Java application

How would you determine the classes (non Sun JDK classes) loaded / unused by a Java application? Background: I have an legacy Java webstart application that has gone through a lot of code changes and now has a lot of classes, most of which are not used. I would like to reduce the download size of the application by only deploying class...

java.lang.NoClassDefFoundError: com/google/common/base/internal/Finalizer$ShutDown (wrong name: com/google/common/base/internal/Finalizer)

Our application uses the MapMaker class from Google collections, and we're getting the exception below, but only on OS X 10.4 using webstart. It works fine when launched from an app bundle, and on OS X 10.5 and Windows. This has started happening since our upgrade from RC2 to RC5 (we skipped all the intervening versions). We've since ...