Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42562

Error: JAVA_HOME not found in your environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Trivial Trivial
    • support-core-plugin
    • None
    • GitHub plugin, Chrome, Jenkins 1.642.3

      When running the build for my first maven project, it fails and the console says "Error: JAVA_HOME not found in your environment." I've set it in the Environmental Variables of my computer to the and mvn --v shows the variable set to C:\Program Files (x86)\Java\jre1.8.0_121. PATH is set to C:\Program Files (x86)\Maven\apache-maven-3.3.9\bin;%JAVA_HOME%\bin;.

      This is my first time using Jenkins so I'm not very savvy on how this all goes so I'm sorry if I'm not describing this issue accurately.

            Unassigned Unassigned
            drerichards Andre Richards
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: