Error :- java runtime environment JRE or java development kit must be available in order to run eclipse

后端 未结 14 1686
闹比i
闹比i 2020-12-24 13:05

I tried to run \"eclipse-jee-juno-win32-x86_64\" , but it raised the following error \" java runtime environment JRE or java development kit must be availab

14条回答
  •  梦谈多话
    2020-12-24 14:03

    This problem is because of the fact that eclipse is not able to find Java ,

    Check the java directory cd /Library/Java/JavaVirtualMachines///Contents/Home/jre/bin

    If thats not present down JDK from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

    Once JDK is installed change eclipse.ini file

    On Mac: Right click on Eclipse icon and click "Show package Content"

    Navigate to eclipse>Contents>Eclipse>eclipse.ini

    Open the file and replace the java path after "-vm" with this

    /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/bin

提交回复
热议问题