Eclipse cannot find Java on Ubuntu

后端 未结 8 1113
自闭症患者
自闭症患者 2021-02-09 05:38

Java is properly installed in my Ubuntu 12.04 and the PATH variable is set in the .bashrc file.

The command java -version gives an expected out

8条回答
  •  一整个雨季
    2021-02-09 06:17

    You can explicitely tell your eclipse session which jdk/jre you want it to start with adding the following in your eclipse.ini:

    -vm home/..../jre/bin/javaw.exe
    

提交回复
热议问题