Java webstart having problem with multiple jar files and resource files
I have created a jnlp file using NetBeans IDE, which has one main jar file and 7 reference jar files. I also need to send a few jpg files and text files which should be stored on the local hard drive after installation. Apart from this I also have a few language files (.properties files) which are for the application to work on different regional settings.
When I run the jnlp file from a browser, I get a lot of errors. The first error was to do with the signing of the jar files. Then there was a mismatch of signing of different jar files. To remove these errors, I removed the self-signed option in Netbeans.
However, it then started giving errors as the same could not find the .properties files. Commenting the code for the language functionality, it then started giving errors for the local path. The code also creates a log file for which again it complains.
If that part of the code is commented it gives another error. So, its a bit of a pain.
My question is what is the best way of deploying an application developed in Java? I want to deploy it from a website and the same should be one file, when the same is downloaded, running it should unzip the contents and run the main .jar file. I am not sure how I would then implement the application updates which is in built in case of a webstart application.
Also need this to work independent of the platform it is run on
Your help will be much appreciated.