[jbosstools-issues] [JBoss JIRA] (JBIDE-24952) windows slaves define JDK 5 - 8 variables but do not have those JDKs installed

Nick Boldt (JIRA) issues at jboss.org
Fri Nov 3 16:16:01 EDT 2017


     [ https://issues.jboss.org/browse/JBIDE-24952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Boldt resolved JBIDE-24952.
--------------------------------
    Resolution: Done


> windows slaves define JDK 5 - 8 variables but do not have those JDKs installed
> ------------------------------------------------------------------------------
>
>                 Key: JBIDE-24952
>                 URL: https://issues.jboss.org/browse/JBIDE-24952
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build, qa
>    Affects Versions: 4.5.1.AM1
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>             Fix For: 4.5.1.Final
>
>         Attachments: ls_nativetools.txt, screen-global-config-redmark.png, screen-global-config.png
>
>
> I ran some experiments on a win10 slave and discovered that while these variables are defined:
> {quote}{code}
> echo "%NATIVE_TOOLS%"
> echo "%JAVA15%"
> echo "%JAVA16%"
> echo "%JAVA17%"
> echo "%JAVA18%"
> {code}
> -->
> {code}"T:\opt\windows\amd64"
> "jdk1.5.0_last"
> "jdk1.6.0_last"
> "jdk1.7.0_last"
> "jdk1.8.0_last"
> {code}{quote}
> ... not all the associated JDKs are actually installed:
> {quote}
> {code}
> FOR %%D IN ( %OPENJDK_1_8_HOME%, %OPENJDK_1_7_HOME%, %JDK1_8_HOME%, %JDK1_7_HOME%, %JDK1_6_HOME%, %JDK1_5_HOME% ) DO ( %%D\bin\java -version ) 
> {code}
> -->
> {code}
> C:\mnt\hudson_workspace\workspace-win10>(T:\opt\windows\amd64\openjdk-1.8.0\bin\java -version  ) 
> openjdk version "1.8.0_131-1-redhat"
> OpenJDK Runtime Environment (build 1.8.0_131-1-redhat-b11)
> OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
> C:\mnt\hudson_workspace\workspace-win10>(T:\opt\windows\amd64\openjdk-1.7.0\bin\java -version  ) 
> The system cannot find the path specified.
> C:\mnt\hudson_workspace\workspace-win10>(T:\opt\windows\amd64\jdk1.8.0_last\bin\java -version  ) 
> java version "1.8.0_121"
> Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
> C:\mnt\hudson_workspace\workspace-win10>(T:\opt\windows\amd64\jdk1.7.0_last\bin\java -version  ) 
> java version "1.7.0_79"
> Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
> C:\mnt\hudson_workspace\workspace-win10>(T:\opt\windows\amd64\jdk-1.6.0_last\bin\java -version  ) 
> The system cannot find the path specified.
> C:\mnt\hudson_workspace\workspace-win10>(T:\opt\windows\amd64\jdk-1.5.0_last\bin\java -version  ) 
> The system cannot find the path specified.
> {code}{quote}
> So... we should consider making sure that at least openjdk-1.7.0 is installed, if not also jdk-1.6 and jdk-1.5, too.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list