Running JAR file on Windows

前端 未结 25 2587
故里飘歌
故里飘歌 2020-11-22 01:57

I have a JAR file named helloworld.jar. In order to run it, I\'m executing the following command in a command-line window:



        
25条回答
  •  不要未来只要你来
    2020-11-22 02:25

    There are many methods for running .jar file on windows. One of them is using the command prompt.

    Steps :

    1. Open command prompt(Run as administrator)
    2. Now write "cd\" command for root directory
    3. Type "java jar filename.jar" Note: you can also use any third party apps like WinRAR, jarfix, etc.

提交回复
热议问题