Run Eclipse with different Java VM / JDK

Veröffentlicht von

How to run Eclipse with an older JDK / Java version.

I recently had to open an older Java project in Eclipse. For that, I downloaded an older version of Eclipse in order to get it working. My project was an older RCP project and I could open and run it with the newest version of Eclipse for RCP, however the GUI did not show up.

The application looked like that:

Controls are missing, not text boxes or input fields were shown. The original GUI should have looked like that:

Anyway, the solution was to use an older version of Eclipse for RCP developers. However it did not run with the newest JDK/Java version. There was just an error message when starting Eclipse.

In order to get it working I pointed to an older version of the Java VM by editing the „eclipse.ini“ file and adding the following parameter.

-vm 
C:\Java\jre8\bin\javaw.exe

Kommentar hinterlassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.