Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试编写一个 .sh 文件来询问文件名,使文件可执行,然后打开文件。我试图搜索但没有找到我的问题的结果。
虽然问题的第一句话是模棱两可的,但我认为你想运行一个 .jar 文件。只需 java -jar yourfile.jar