现象:安装好jdk和环境配置后,打开eclipse后,提示no java virtual machine was found after searching the following locations
原因:jdk安装在/usr/java目录下,eclipse在/gengyiping/download/eclipse下
解决办法:在eclipse目录下,打开终端,输入“ln -s /usr/java/jdk1.8.0_141/jre jre”
原文链接:https://www.f2er.com/ubuntu/351977.html