开发者

executable jar file not running

开发者 https://www.devze.com 2023-01-21 03:02 出处:网络
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 sh

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);

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号