This discussion is archived
6 Replies Latest reply: Oct 15, 2008 4:59 AM by 843785 RSS

unable to run a .class file w/ javaw

843785 Newbie
Currently Being Moderated
I created a simple application which uses swing gui.
This application works just fine when I click the "run" button in eclipse.
But as soon as i copy the .class file from the eclipse project folder to somewhere else and try to run it with "javaw myclass" (the filename is myclass.class) nothing happens.
No command not found error, no nothing.
Its like javaw finds and executes the .class and then returns to the command prompt... But I dont see any windows or any sign of my program running.

Thx in advance