
If you check the box next to it, that should make it your default for when you create new projects. Picking that item should see the Java installs you have, and a "Java SE 8" option should be in there. That opens a dialog with a tree, and under the "Java" element is "Installed JREs". Once Eclipse is running, under the "Eclipse" menu, pick "Preferences.".

If you install Java 8, and install Photon, and it Eclipse starts to work, then we can Ensure Eclipse builds and runs with Java 8. At least, I'm more comfortable about that then using Java 10. Again, check with your professor, but I suspect you can install Photon and do your assignments, and it won't be an issue. Their latest version is "Photon" - I'm running that right now on High Sierra and having no issues. I would certainly upgrade because Neon isn't supported on High Sierra. Eclipse Neon 3 is a couple years old, and I don't think was built to support Java 10 (and that might explain the crashes you're seeing). The second thing to keep in mind is the Eclipse version.

Once you've installed Java 8 from there, you should have two versions of Java available, and we can make Eclipse use both. That being said, you can get Java 8 installed and running along side, though - use this link: Chances are it's okay, but Java 10 has new features and functions you wouldn't have access to in a pure Java 8 setup, so you might create "incorrect" solutions that use things your professor might not want you to. So there's a few issues to unpack here.įirst - your terminal shows you have Java 10 installed, not Java 8.
