1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Eclipse起動時に「Java was started but returned exit code=13…」

Posted at

久しぶりにSTS起動したらエラーメッセージ「Java was started but returned exit code=13…」が出て起動できなくなっていた。

原因

JDKとJREに差異があると出るっぽい。

解決法

使いたいバージョンで統一する。
1.8が使いたかったので、

  • 1.8のJDK・JREを最新にアップデートする。
  • 不要なJDK・JREをコンパネからアンインストールする(1.7とかもう使わないので)。
  • 以下の設定を先頭に追加(EclipseというかSTSだけど)。
STS.ini
-vm
C:\Program Files\Java\jdk1.8.0_25\bin\javaw.exe

で起動できた。

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?