A JRE or JDK must be available in order to run Eclipse. No JVM was found after searching the following locations

前端 未结 27 2186
渐次进展
渐次进展 2020-12-01 00:31

Eclipse is unable to open, have used eclipse before and has open before without a problem. Now I keep getting the following error message:

A Java Runt

27条回答
  •  生来不讨喜
    2020-12-01 01:08

    If on Linux (ex: Ubuntu 18), try installing (or reinstalling in your case?) default-jre, as follows:

    sudo apt update
    sudo apt install default-jre
    

    I had the same error when just trying to run the Eclipse installer (./eclipse-inst) on a fresh Eclipse download just now, and the installer wouldn't even run! Installing default-jre solved it!

    Source:

    • https://linux4one.com/how-to-install-eclipse-ide-on-ubuntu-18-04/

提交回复
热议问题