linux打开eclipse出现version1.8.0 of the jvm is not suitable for this product 11 or greater is required

修改此文件:sudo vim /opt/eclipse/eclipse.ini 

linux打开eclipse出现version1.8.0 of the jvm is not suitable for this product 11 or greater is required

在上述文件中将版本11修改为1.8.然后在开头处(切记)添加2行:

-vm
/jdk1.8.0_221/bin(自己安装Java地址)