Java console applications do no open a console by default. If you are running your application by double clicking on its jar, this is not correct way to see console output.
You will need to open a DOS window and type something like this if it is the output is a jar file:
java -jar yourJarName.jar
If it is a class instead of jar, run it as follows:
You can read basics here:
"Hello World!" for Microsoft Windows (The Java™ Tutorials > Getting Started > The "Hello World!" Application)