No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

As the title suggests, I’m trying to build my plugin with maven but console spits out this issue:

No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

Thanks for your help :slight_smile:

(P.S. I’ve probably done something really stupid!)

Do you have the JDK installed and linked to your IDE? Or is it only the JRE?
(Error messages mean something!)

Perhaps he is running on a JRE rather than a JDK

Maven can be annoying to setup, make sure you have the JDK installed.

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Otherwise start investing your path and environment variables.

If you are on windows,

Sorry. I forgot to say I was developing on Eclipse.

Anyway, I fixed the issue, I had to go to my “Run Configurations” and change the “Runtime JRE” as it was set as a JRE and not a JDK.

Thanks for your help!

1 Like