Why is my Runnable Jar file not working

前端 未结 4 406
耶瑟儿~
耶瑟儿~ 2021-01-13 06:18

I followed about 10 different tutorials and none of them seemed to do the trick, my runnable jar file just isn\'t working.

My game runs fine when I

4条回答
  •  萌比男神i
    2021-01-13 07:05

    To run a .jar file, in command line write:

    java -jar 'jar_file'.jar
    

    Where 'jar_file' is the name of your jar file without any quotes. In your case it appears to be run.jar.

    .jar files are .zip archives, which can confuse the operating system

    Jar file format

提交回复
热议问题