LoginSignup
0
0

More than 5 years have passed since last update.

install4jが起動しない場合のログ取得方法

Last updated at Posted at 2018-03-06

インストーラーがinstall4jで作成されているが,そのインストーラーがうまく起動できない場合の対処法。
ただ実行しただけだと何もエラー出さずに落ちるので原因がわからない。

環境

macOS 10.13

手順

環境変数INSTALL4J_LOG=yesを設定してinstall4jのランチャーを起動する。

例:

INSTALL4J_LOG=yes myLauncher.app/Contents/MacOS/JavaApplicationStub
(省略)
<JAVA_HOME>/lib/ext exists, extensions mechanism no longer supported; Use -classpath instead.
.Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

エラーメッセージを取得することができました。
ここから長いデバッグの旅が始まります。

参考

The executable generated by install4j doesnt start

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0