Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tenniseric98

macrumors newbie
Original poster
Sep 15, 2017
7
0
I'm a little confused about the Java situation on my new 2017 MBP. So I heard that all Macs come with Java Version 1.6, and I typed > java -version in terminal and it came up with:

java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468-11M4833)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)

So after I downloaded and installed Eclipse for Java Developers, an error message popped up, saying,
"To open "Eclipse" you need to install the legacy Java SE 6 runtime."

So, I follow the link to the error message and download the Java Legacy 6 runtime from Apple's website.
https://support.apple.com/kb/DL1572?locale=en_US
(btw, after looking this up, Java's FAQ leads to that website as well. https://java.com/en/download/faq/yosemite_java.xml)

However, I tried to open Eclipse again, but this time it came up with another error message, reading.
"Version 1.6.0_65 of the JVM is not suitable for this product.
Version: 1.8 or greater is required."

Ok, so I go to Java's website. I stumble across their FAQ for Mac users, https://java.com/en/download/faq/java_mac.xml#install

So, because I ran > java -version in terminal and got an answer back saying I have version 1.6.0_65, that means I have java, right? But the FAQ is saying to check which version of java you have, you go to system preferences and click the "Java" button next to "flash player" in the menu. I only see "Flash Player" and no "Java." So to double check if I really have java, I try going to:

  • /System/Library/Frameworks/JavaVM.framework/Versions/Current
But I do not have the folder "JavaVM.framework"

Do I have java or not, and what do I have to do to get Eclipse running? Since I'm only starting to learn Eclipse, is another program recommended where I don't have to go through all this? Thanks in advance.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.