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

12,631

It worked when I set JAVA_HOME and use command prompt for executing mvn clean install. The problem with the IntelliJ is we can't add bin path of the JDK. Is there a way to solve this? Image

Share:
12,631
Lahiru Gamage
Author by

Lahiru Gamage

I am a former software engineer of MAS Holdings and contribute java, .net and SAP projects

Updated on June 28, 2022

Comments

  • Lahiru Gamage
    Lahiru Gamage almost 2 years

    I tried mvn clean install in Intellij. But it raise this error. image 1

    mvn -version command works fine in the terminal of intellij.