A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: /usr/local/eclipse/

linux系统下jdk是已经安装好的情况之下软件出现

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. 
No Java virtual machine was found after searching the following locations:
/usr/local/eclipse/jre/bin/java java in your current PATH


解决办法是在终端进入你的eclipse目录,然后输入:

mkdir jre
cd jre
ln -s 你的JDK目录/bin

posted on   Honey_Badger  阅读(1742)  评论(0编辑  收藏  举报

导航

< 2025年1月 >
29 30 31 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31 1
2 3 4 5 6 7 8
github
点击右上角即可分享
微信分享提示