Anto
Anto

Reputation: 4305

executable jar file not running

I have created 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?

Upvotes: 0

Views: 10053

Answers (2)

jatin vasnani
jatin vasnani

Reputation: 21

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

Upvotes: 2

Eugene Kuleshov
Eugene Kuleshov

Reputation: 31795

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.

Upvotes: 4

Related Questions