java.exe and javaw.exe are basically the same.
java.exe opens a console by default whereas javaw assumes you don't want a console because you have a windows program.
So if you don't want a text window to open when you run your java program, run 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.
I can't help you on the "-ojvm". question... there is no documentation for such a flag, and I've never heard of it.
Re: How to find help about javaw.exe interpreter?
Feb 4, 2005 9:38 AM
(reply 4
of 12) (In reply to
#3 )
Thanks - this is exacly what I was looking for!
It is strange that no information available on the -ojvm parameter...
I can see this parameter when I click on run in JDeveloper (oracle IDE).
It uses this parameter to run the java class I wrote...