My friend had a problem running Eclipse Luna on his Mac running 10.6.8. Whenever he started Eclipse, he displayed an error regarding the need for Java 7. But he was unable to install Java 7 because of his older OS.
After following some strategies to solve this problem on the Internet, I could not find a solution. So, I decided to open the eclipse.ini file and changed this line:
-Dosgi.requiredJavaVersion=1.7
:
-Dosgi.requiredJavaVersion=1.6
Then started Eclipse. He has not made a mistake yet.
Is this a problem for Eclipse, requiring a newer version of Java than necessary, or will it start to encounter problems at some point?
source share