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.
Runtime.getRuntime().exec(filePath) を介して実行時にexeを実行できますが、これはjarの外部のexeに対してのみ機能するようです。jar 内にパッケージ化した exe を実行したい。どうすればいいですか?jar内のファイルの名前を使用して同じ方法でロードするコードを見たことがあるので、jarロード機能があると思いますが、IOエラーが返されます。
jarファイルの外の一時的な場所にコピーできますが、可能だと思います。