Windows方便得运行jar文件 新建文本文档,文件扩展名为“.bat”,然后输入下面内容: @echo off java -jar %1 pause 以后就只要拖动jar文件到这个bat文件上就行。