Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-7191

Bamboo on Windows does not look for java in JAVA_HOME, only on PATH

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.7 rc1, 2.7
    • 2.7 beta2
    • Installation
    • None
    • Windows XP x64 and Oracle Java 6

      Installed using latest x64 bit java6 distribution from Oracle on Windows XP x64. Got the following error running the Bamboo console batch script.

            [BAM-7191] Bamboo on Windows does not look for java in JAVA_HOME, only on PATH

            Install4j looks for java in JAVA_HOME, the Wrapper does not.
            The easiest way to fix it is to append JAVA_HOME to PATH in our startup scripts.

            Przemek Bruski added a comment - Install4j looks for java in JAVA_HOME, the Wrapper does not. The easiest way to fix it is to append JAVA_HOME to PATH in our startup scripts.

            This is value of PATH
            "C:\Program Files (x86)\CollabNet\Subversion Client;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\maven2\bin;C:\Program Files (x86)\CollabNet\Subversion Client\"

            JAVA_HOME is set to:
            "c:\Program Files\Java\jdk1.6.0_22"

            Im not sure how the java.exe is getting on the path if its not part of the PATH environment variable. Any ideas?

            James Dumay added a comment - This is value of PATH "C:\Program Files (x86)\CollabNet\Subversion Client;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\maven2\bin;C:\Program Files (x86)\CollabNet\Subversion Client\" JAVA_HOME is set to: "c:\Program Files\Java\jdk1.6.0_22" Im not sure how the java.exe is getting on the path if its not part of the PATH environment variable. Any ideas?

            This does look like the "two consecutive semicolons in PATH" issue. James, can you check whether this is the case?

            Przemek Bruski added a comment - This does look like the "two consecutive semicolons in PATH" issue. James, can you check whether this is the case?

              pbruski Przemek Bruski
              jdumay James Dumay
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: