eclipse版本要求修改

 eclipse要求打开的是java1.6,而安装的是java1.7,这个时候需要修改配置

  找到JAVA的安装路径,

 点击前往-电脑-资源库-Java-javaVCirtualMachines-...-info.plist

编辑info.plist 

 复制这句话

<array>
<string>JNI</string>
<string>BundledApp</string>
<string>WebStart</string>
<string>Applets</string>
<string>CommandLine</string>
</array>

粘贴到<key>JVMCapabilities</key>和<key>JVMMinimumFrameworkVersion</key>之间, 、

修改后是这样

。。。

<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>

保存,关机后重启

 

posted @ 2015-05-04 13:51  说好范特西  阅读(679)  评论(0编辑  收藏  举报