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.
Another approach that you may want to consider, would be to package the application in a jar file that the user could just double-click in order to execute the program. No dos prompt appears. Take a look at this brief tutorial to learn how to make such a jar file. Good Luck.