Not launching when exporting as JAR [message #1428434] |
Sun, 21 September 2014 21:28 |
Matthew Diana Messages: 1 Registered: September 2014 |
Junior Member |
|
|
Hello,
I have created a project using WindowBuilder and it executes perfectly fine within the Eclipse IDE. When I go through the export process (Export -> Runnable JAR file -> Package required libraries into generated JAR) and attempt to open the JAR on my computer, no GUI is shown. When I look at my Processes in the Task Manager, I notice when I double-click the JAR file "javaw.exe" runs for about 1 second and then stops.
The funny thing is that if I were to go to the command prompt and execute the "java -jar" command on the JAR file, it executes perfectly fine.
I was wondering if anybody else has come across this issue of the .jar file failing to open unless explicitly run within the command line.
|
|
|
Powered by
FUDForum. Page generated in 0.03005 seconds