my application has a Loader class which is set as the main class in the jnlp file. Loader class takes the name of a class as a command line argument which it then loads and invokes at run time.
I've included the fully qualified name of the class which i want to load at runtime in the tag of the jnlp file and am including the jar which contains the particular class in section of the jnlp. But inspite of doing this the java web start is unable to launch the application. It is giving a java.lang.ClassNotFoundException for the class whose name i'm sending as a command line argument.
note: To be specific my main class for the purpose of java web start is com.sun.star.lib.loader.
Loader which is an openoffice.org loader (since my application needs to access openoffice apis.) I'm asking the loader to dynamically load my actual main application class by passing the name of that class as a command line argument. The Loader loads that class and in turn invokes main of that class.