making a jar file for console

后端 未结 4 621
春和景丽
春和景丽 2020-12-03 23:30

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

4条回答
  •  我在风中等你
    2020-12-04 00:32

    The process of creating a JAR file is same for console as well as GUI based apps. You are definitely not seeing the output of your JAR. Simply execute it from a console then you will see the output. For the ease of use, you can make a batch file (MS-Windows) to run your JAR.

提交回复
热议问题