I have a program without a GUI and I use console! So first I read a line from a user from console
BufferedReader userReader = new BufferedReader(new
You need to run your jar file from CLI (command line). Like:
java -jar yourJar.jar
pause
If you want to force this, there are different ways to do this: