Your link says following
>javaw doesn't show a console window associated with it... So if you're running >something and you don't want the command window, you'd use javaw instead >of java...
Is it that just to avoid a console window javaw.exe was introduced. Or is there anything much more differences between java and javaw
"The javaw command is identical to java, except that with javaw there is no
associated console window. Use javaw when you don't want a command prompt
window to appear. The javaw launcher will, however, display a dialog box with error
information if a launch fails for some reason."
?-- From the java.exe documentation http://java.sun.com/javase/6/docs/technotes/tools/windows/java.html
> "The javaw command is identical to java, except that
> with javaw there is no
> associated console window. Use javaw when you don't
> want a command prompt
> window to appear. The javaw launcher will, however,
> display a dialog box with error
> information if a launch fails for some reason."
>
>-- From the java.exe documentation
> http://java.sun.com/javase/6/docs/technotes/tools/wind
> ows/java.html
Ok. I understood. Please tell me is it possible to get more error details if lauch fails. I asked because, i have application that simply displays error as "Could not find main class. Program will exit". This error when used javaw command. And i also tried using java command and i get different error. This is where i am confused
> Ok. I understood. Please tell me is it possible to
> get more error details if lauch fails. I asked
> because, i have application that simply displays
> error as "Could not find main class. Program will
> exit". This error when used javaw command.
>And i also
> tried using java command and i get different error.
> This is where i am confused
Will you plz post the detailed error messages you are getting?
I would try java.exe rather than javaw.exe, so The window doesn't disappear. (And
from the command line rather than double clicking.)
Post the command you are using and the message that results. Copy, paste and
post the actual command and message. If you are executing a .jar file, post its
manifest.