On the PC, or other interpreted Java platforms, Java launches a program by starting a
Java runtime environment, loading a specified class, and invoking that class's main method. 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.
If a Java program fails to load and start, it can be very frustrating trying to determine the reasons why, since the
default error messages are terse and cryptic. The -verbose option provides a lot of information, and will generally be
very helpful in debugging program start and load problems.
Our native-execution embedded Java programs will not be started in this way, because the Java runtime environment is
in silicon and automatically starts upon power-up. Rather, you specifiy your desired boot class to Jembuilder, and it's
main() method executes at any power-up or reset event. |