executable jar file not running
I have crea开发者_开发百科ted a runnable Jar file of quite large dimension (125,000 kb). When I run it the application inside this jar file is not shown but in the Task Manager the javaw.exe (which should be linked to this jar file) process is running. Does anyone know what the problem is and how it may be overcome?
From the command line, run your application using java.exe -jar jarname.jar (not javaw.exe), so you'll see the errors and exceptions printed to the system out or system err if there is any.
you have to pass some code in the main class example : if you want to open a form then write in main class the following command:- new ().setVisible(true);
精彩评论