1

https://github.com/libgdx/packr下载 packr & Packr json 是

{
"platform": "windows64",
"jdk": "C:/Program Files/Java/jdk1.8.0_72",
"executable": "myapp",
"classpath": [
    "input/test-hello.jar"
],
"mainclass": "Main",
"vmargs": [
   "Xmx1G"
],
"minimizejre": "soft",
"output": "out-windows64",
"verbose": true

test-hello.jar 有 Main.class,它只是在 System.out 上写“Hello”。打包exe时没有报错。但是,当我运行 exe 时,控制台上没有输出。json 中是否有我遗漏的内容?有没有人有一个简单的工作示例?

4

0 回答 0