Today was intended to try Java Network launching Protocol (Jnlp,java Network Load Protocol), wrote a simple window program, packaged into a jar saved to the desktop, double-click and so on for half a day did not show up.
I was using eclipse to build the jar file, is there a problem with eclipse build jar?
I created a testframe.jar in the DOS window with Jar CVFM Testframe.jar manifest.mf-c test/, and double-click to run.
I think maybe the Eclipse build jar is out of the question, I accidentally moved this testframe.jar to the desktop, double-click again, faint, also do not show the window.
I am mistaken for Eclipse.
The specific reason is unclear, why the jar file put on the computer desktop on the double-click can not start it???
Who knows the situation?
--------------------------------------------------------------------
Later learned: related to Java7, if the jar is located in the directory where the path contains spaces, double-click does not start up.
Now Java upgrade to: 1.7.0_06-b24, the problem no longer exists.
2011-10-12
Jar file on the desktop double-click to start, but in any other folder can double-click Start