This question shows research effort; it is useful and clear
2
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我想在 Windows 上运行 jar 可运行文件。在cmd,我输入java -jar a.jar,但它会首先为a.jar的父级启动一个java exe,但我不想要它。(或启动java并启动a.jar,然后退出java但保留jar)如果我只输入a.jar,cmd它运行良好,但由于某种原因,我必须从 java 启动它,我该怎么办?