How do I debug a Java Web start application?
I have a Java Web start application that starts from a real-time site by downloading custom JNLP files
The problem is that once the Java Web start application is loaded, the application exits without warning I know the certificate is OK because when I enable the "show site certificate from server, even if it is valid" option from Java settings, it displays the corresponding message
I tried to enable all debugging settings from Java settings ("enable tracing", "enable logging", "show applet lifecycle exceptions") and the Java console, but there was no luck cache problem
Can anyone with more experience in Java Web start development / debugging provide any tips?
Solution
You can start the Web Start program from the command line using javaws and pass the JVM option using the - J flag
Connect to the process using the debugger: http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/troubleshooting.03.06.html