Eclipse requires java1.6 to be opened, and java1.7 is installed, this time you need to modify the configuration
Find the installation path for Java,
Click to go-computer-Library-java-javavcirtualmachines-...-Info.plist
Edit Info.plist
Copy this sentence
<array>
<string>JNI</string>
<string>BundledApp</string>
<string>WebStart</string>
<string>Applets</string>
<string>CommandLine</string>
</array>
Paste between <key>JVMCapabilities</key> and <key>JVMMinimumFrameworkVersion</key>,
This is how it's changed.
。。。
<dict>
<key>JVMCapabilities</key>
<array>
<string>JNI</string>
<string>BundledApp</string>
<string>WebStart</string>
<string>Applets</string>
<string>CommandLine</string>
</array>
<key>JVMMinimumFrameworkVersion</key>
<string>13.2.9</string>
<key>JVMMinimumSystemVersion</key>
<string>10.6.0</string>
<key>JVMPlatformVersion</key>
<string>1.7</string>
<key>JVMVendor</key>
<string>oracle corporation</string>
<key>JVMVersion</key>
<string>1.7.0_75</string>
</dict>
Save, restart after shutdown
Eclipse version requires modification