No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
I use Eclipse, Maven and java8-openjdk.
I am using JDK not JRE:
Java is located at**/usr/lib/jvm/java-8-openjdk-amd64/**
.The class with
main
method compiles and runs without a problem.- I was able to build before without any problems.
The runtime version of Eclipse:
java.runtime.version=1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14
- In
pom.xml
, I have Maven compiler plugin, with version3.5.1
, source and target values1.8
.
What am I missing here ? I have configured correct path. I have JDK. I did builds before and yet Maven is failing now.
Please let me know how to start about finding the root cause and also let me know if any more information is needed. Thanks.