Changing the Required Java Version for Eclipse

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?

+6
source share
1 answer

The solution for Java 1.7 requirements is described in detail in Eclipse error 423734

The original reason was that Java 1.6 is now ending and is not supported.

Since the decision was made, some packages use Java 1.7 code, there is a list here, although this may have expanded since then.

+3
source

Source: https://habr.com/ru/post/974844/


All Articles