[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:00 EDT 2017


    [ https://issues.jboss.org/browse/JBIDE-24952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485854#comment-13485854 ] 

Nick Boldt commented on JBIDE-24952:
------------------------------------

JDK 9 issues are resolved (finally) in the PNT tickets. 

And since we now have OpenJDK 9 on Windows, that last broken item above is fixed too:

{code}
[win10] $ cmd.exe /C "\mnt\hudson_workspace\tools\hudson.tasks.Maven_MavenInstallation\maven-3.5.2\bin\mvn.cmd -f tycho-plugins/pom.xml -Dmaven.repo.local=/mnt/hudson_workspace/workspace/cci-experiments-jdk9/jdk/openjdk-1.9/label_exp/win10/.repository clean verify -V -e -fae -U -B && exit %%ERRORLEVEL%%"
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z)
Maven home: C:\mnt\hudson_workspace\tools\hudson.tasks.Maven_MavenInstallation\maven-3.5.2\bin\..
Java version: 9.0.0.1-redhat, vendor: Oracle Corporation
Java home: T:\opt\windows\amd64\openjdk-1.9.0{code}
-- https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/jbosstools-releng/job/cci-experiments-jdk9/jdk=openjdk-1.9,label_exp=win10/14/consoleText

> 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