Jenkins / Maven: Could not resolve default JAVA_HOME path, Build failing

后端 未结 1 1559
醉梦人生
醉梦人生 2020-12-16 17:39

I\'ve got a problem regarding Java Builds in Jenkins.

The Error I resolve is the following one:

Unable to locate the Javac Compiler in: C:\\Jenkins\\

相关标签:
1条回答
  • 2020-12-16 18:05

    I faced the same problem. The below steps solved the problem

    1) Go to Manage Jenkins - Configure system

    2) Add JAVA_HOME and its path in Global Properties - Environment Variables

    3) Add JDK and path in JDK section

    0 讨论(0)
提交回复
热议问题