JAVA_HOME env variable not populating path to JDK installation

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: javanet-plugin
    • None
    • Environment:
      Windows Server 2008 R2
      Ubuntu 12.04 LTS

      When performing a build on a Maven project, the build gets the following error:

      ERROR: Failed to parse POMs
      java.io.IOException: Cannot run program "/bin/java" (in directory "E:\Program Files\Jenkins\jobs\GAFRI ESB\workspace"): CreateProcess error=2, The system cannot find the file specified

      We have JAVA_HOME set as a system environment variable and it used to configured the path to the JDK installation. This worked until recently. The environment variable is no longer being populated for Maven project.

            Assignee:
            Unassigned
            Reporter:
            Chris Jaehnen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: