Eclipse could have used a good, loaded multiple version of the JDK after opening eclipse with an error have occurred. See the log file problem, after looking, one of the possible reasons is that the machine installed more than one JDK, and the current use of this JDK and eclipse the use of conflict caused, problem analysis and its solution:
1, use the following command to see how many JDK installed:
Ls/library/java/javavirtualmachines
For example, after entering the above command, you can see that my machine is currently loaded with the following three:
When I switch to the appropriate JDK version, Eclipse is up.
This problem may be caused by a recent download of a new JDK or modification of the currently used JDK option on a new installation or update of a software.
The Mac appears with an error with occurred under Eclipse startup. See the problem with the log file