[
https://issues.jboss.org/browse/JBIDE-24952?page=com.atlassian.jira.plugi...
]
Martin Malina edited comment on JBIDE-24952 at 10/31/17 11:55 AM:
------------------------------------------------------------------
[~nickboldt] thanks for the report. I'd say your findings are as expected.
Note that OpenJDK was never built for Windows (AFAIK) until we (RH) started doing it
because we needed it for devsuite. And that was OpenJDK 1.8. So I think OpenJDK 1.7 for
Windows never existed.
With OpenJDK 9 for Windows, I think it's just a matter of time. But so far I'm not
aware of its existence - I tried looking at the same place where OpenJDK 1.8 builds are
published and didn't see 9 there.
Update: OpenJDK 9 for Windows is already available at
https://developers.redhat.com/products/openjdk/download/
was (Author: mmalina):
[~nickboldt] thanks for the report. I'd say your findings are as expected.
Note that OpenJDK was never built for Windows (AFAIK) until we (RH) started doing it
because we needed it for devsuite. And that was OpenJDK 1.8. So I think OpenJDK 1.7 for
Windows never existed.
With OpenJDK 9 for Windows, I think it's just a matter of time. But so far I'm not
aware of its existence - I tried looking at the same place where OpenJDK 1.8 builds are
published and didn't see 9 there.
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.x
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)