0

I already tried the solutions posted in stackoverflow.com like :

Eclipse Oxygen : Incompatible java versions

it does not solve my problem, I still have the following message in attachment :

enter image description here

I have Eclipse Oxygen.3a (4.7.3a) on Mac and the latest version of Windowbuilder.

KiMaN
  • 319
  • 1
  • 14
  • The first link points to your screenshot. Do you mean [this question](https://stackoverflow.com/q/50263816/6505250)? What did you try? – howlger May 19 '18 at 18:57
  • Ah sorry, I just rectified it. – KiMaN May 19 '18 at 19:02
  • edit **eclipse.ini** file located at root of eclipse folder and update the java version there .Make sure u have java installed on your system properly for version 1.8 – Sahil Gupta May 19 '18 at 19:07

1 Answers1

1

Edit eclipse.ini file located at root of eclipse folder and update the java version there .Make sure u have java installed on your system properly for version 1.8

Sahil Gupta
  • 73
  • 1
  • 3
  • 12
  • Right-click it (or control click) and select "Show Package Contents". Eclipse application is actually a directory. You should find eclipse.ini at **Contents/MacOS/eclipse.ini** inside the Eclipse application directory. Also make sure you set your java_home to something like: **JAVA_HOME=$(/usr/libexec/java_home)** – Sahil Gupta May 19 '18 at 19:19
  • Thx @SahilGupta, I resolved the problem with adding -vm /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin in my eclipse.ini file – KiMaN May 19 '18 at 19:52