bundling all jars into single jar (one-jar) and run this jar from web start
hi i am new to java web start. I am not sure whether this is possible
Issue: I am bundling all jar files into single jar file. Which is a greate solution... (I got this solution from : http://www.developertutorials.com/print/215.html or ). It is woking fine when i double click this One-Jar.jar(contains Boot startup package, main/main.jar(my application), lib/*.jar, images folder, and config folder).
I have created jnlp file and try to run from webstart. But i am getting
Following code (Single jar solution) from :http://one-jar.sourceforge.net/preview/
Version 0.96
Error:
java.lang.NullPointerException
at com.simontuffs.onejar.Boot.getMyJarPath(Unknown Source)
at com.simontuffs.onejar.Boot.run(Unknown Source)
at com.simontuffs.onejar.Boot.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
thanks for the help!!!!!!!!!!!

