打开配置文件:
/Applications/Eclipse.app/Contents/Eclipse/eclipse.ini
将java路径修改为正确的版本
-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home/jre/bin
打开配置文件:
/Applications/Eclipse.app/Contents/Eclipse/eclipse.ini
将java路径修改为正确的版本
-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home/jre/bin