I searched to know the difference between java.exe
and javaw.exe
. I read through
Difference between Java.exe and Javaw.exe.
There it is st
It depends on how the Tomcat server is run. However, the way of configuring and starting Tomcat is out of the question. I could say that there's different options of doing that. If you starting Tomcat with java
it runs like command line application which directs IO to the console. If you run it with javaw
then it doesn't directs IO to the console. Many applications and servers has logging capabilities that could direct the output to the console. For this purposed better to use a command line instance of java
instead of windows app. There's a reason to run javaw
vs java
is no logging, debugging messages, no error, stacktraces, exceptions, everything that System.out
and System.err
produce is visible while you running the application.