I have a small java tool that should do some console output System.out.println(). But if I export it as a runnable jar and run it with javaw.exe -jar path\to\myfile.jar, it will be executed, but there will be no way out on the console!
System.out.println()
javaw.exe -jar path\to\myfile.jar
What can i do wrong?
javaw.exedoes not have a console associated with it. you need to use java.exe. If java is not on the path, enter the full path, for example.path\to\java.exe -jar path\to\myfile.jar
javaw.exe
java.exe
path\to\java.exe -jar path\to\myfile.jar