My開発メモ

Eclipseが起動しない JVM is not suitable for this product.

Eclipse を起動しようとしたら、以下のようなエラーメッセージが出て、起動しなかった。

JVM is not suitable for this product.
Version 17 or greater is required.

それで、以下の起動フォルダの eclipse.ini を見てみた。

-startup
plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
-vm
/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin
-install
@launcher.dir/
…(略)…

-vmオプションのところを以下のようにすると起動した。

-vm
/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin

参考

Eclipse が起動しない JVM is not suitable for this product

カテゴリー: Eclipse, Java, memo

タグ: Eclipse, jvm, not suitable, 起動しない

カウント: 202