[ 
https://issues.jenkins-ci.org/browse/JENKINS-11992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Frederik Fromm updated JENKINS-11992:
-------------------------------------

    Component/s: master-slave
                     (was: slave-setup)
    
> Win7 x64: x86 Java runtime creates bad PATH on x64 OS causing ' 
> \Java\jre6\bin"" was unexpected at this time.' error
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: JENKINS-11992
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11992
>             Project: Jenkins
>          Issue Type: Bug
>          Components: master-slave
>    Affects Versions: current
>         Environment: Win7 x64
>            Reporter: Mark MacVicar
>            Assignee: Kohsuke Kawaguchi
>            Priority: Minor
>
> Win7 x64: x86 Java runtime creates bad PATH on x64 OS causing ' 
> \Java\jre6\bin"" was unexpected at this time.' error
> I had installed the x86 Java 6, Version 6 update 29, (build 1.6.0_29-b11), 
> which installs into C:\Program Files (x86)\Java\jre6. When I started the 
> jenkins client and ran a build I received ' \Java\jre6\bin"" was unexpected 
> at this time.' errors in the console any time a shell command was invoked on 
> the slave.
> Upon investigation it appears that the Java runtime set to path to (as 
> reported by the Manage Jenkins --> Manage Nodes --> My Slave --> Systeminfo 
> page:
> {panel}
> C:\Program Files (x86)\Java\jre6\bin;...;"C:\Program Files 
> (x86)\Java\jre6\bin"
> {panel}
> Searching about on the internet I see several projects reporting issues about 
> unescaped parens being added to the path.
> https://issues.apache.org/jira/browse/GERONIMO-5365
> https://forums.oracle.com/forums/thread.jspa?threadID=2171702
> I can work around this issue by using the x64 JRE on 64-bit OS.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to