0

I am not able to run or create any Java projects in Ubuntu 18.04 using Eclipse, NetBeans or IntelliJ Idea.

Results of which java :

Oracle java SE

Results of java -version :

java 8
2
  • java SE and java 8 Aug 10, 2018 at 4:29
  • Your Java path is buggered up because you installed Oracle Java SE. Your IDEs will recognize Java automatically if you uninstall Oracle JavaSE and install openjdk-8-jdk from the default Ubuntu 18.04 repos. This is how to install Eclipse and NetBeans in Ubuntu 18.04: askubuntu.com/questions/1045090/…. The eclipse snap package also automatically recognizes the latest Java version in 18.04, default-jdk because it's more up-to-date than the eclipse apt package.
    – karel
    Aug 10, 2018 at 4:48

0

You must log in to answer this question.

Browse other questions tagged .