[JBoss JIRA] (JBIDE-24952) windows slaves define JDK 5 - 8 variables but do not have those JDKs installed
by Pavol Srna (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24952?page=com.atlassian.jira.plugi... ]
Pavol Srna commented on JBIDE-24952:
------------------------------------
Jira for JAVA19 env vars: https://issues.jboss.org/browse/JBIDE-25285
> 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: Pavol Srna
> 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)
7 years
[JBoss JIRA] (JBIDE-24952) windows slaves define JDK 5 - 8 variables but do not have those JDKs installed
by Pavol Srna (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24952?page=com.atlassian.jira.plugi... ]
Pavol Srna commented on JBIDE-24952:
------------------------------------
All jenkins JDK Installations are defined globally in the global configuration tool !screen-global-config.png|thumbnail! and point to the respective native tools folder.
*I see that jdk1.5 and jdk1.6 paths are incorrect (contain dash). !screen-global-config-redmark.png|thumbnail! Fixed!*
If something is missing on particular OS it is probably not installed in the shared /qa/tools drive. I'm not sure about the openjdk7 for windows. What was the story? Is there openjdk7 for windows? Is it the the zulu-jdk1.7.0_last version? So we probably need only a symlink (openjdk1.7.0 point to the zulu version?) *If this is the case then please file PNT ticket requesting new symlink (openjdk1.7.0) in opt/windows/amd64 folder on nfs-int.rhev-ci.eng.rdu2.redhat.com:/rhev-ci-all-tools*
This is the list of all java versions installed in /qa/tools for x86_64 windows: [^ls_nativetools.txt]
Btw. JAVA\{16,17,18\} variables for windows are defined here: https://gitlab.mw.lab.eng.bos.redhat.com/dev-platform/mwqa-cloud-slaves/b...
{code}
Declare-EnvVar "JAVA16" "jdk1.6.0_last"
Declare-EnvVar "JAVA17" "jdk1.7.0_last"
Declare-EnvVar "JAVA18" "jdk1.8.0_last"
{code}
Do we need to add JAVA19? (probably yes)
> 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: Pavol Srna
> 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)
7 years
[JBoss JIRA] (JBDS-4592) Container Development Environment 3.2+ marked as started after minishift failure
by Denis Golovin (JIRA)
Denis Golovin created JBDS-4592:
-----------------------------------
Summary: Container Development Environment 3.2+ marked as started after minishift failure
Key: JBDS-4592
URL: https://issues.jboss.org/browse/JBDS-4592
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Bug
Components: cdk, runtime
Affects Versions: 11.1.0.GA
Environment: Red Hat JBoss Developer Studio
Version: 11.1.0.GA
Build id: GA-v20171023-1808-B1449
OS: Windows 10, v.10.0, x86_64 / win32
Reporter: Denis Golovin
Running Latest DevStudio nightly I am getting error during CDK 3.2.0-rc.1 start in server console
{code}-- Starting local OpenShift cluster using 'virtualbox' hypervisor ...
-- Minishift VM will be configured with ...
Memory: 4 GB
vCPUs : 2
Disk size: 20 GB
-- Starting Minishift VM ....................................... OK
-- Registering machine using subscription-manager
Registration in progress ................. FAIL [41s]
Error to register VM: ssh command error:
command : sudo -E subscription-manager register --auto-attach --username user(a)gmail.com --password 'password'
err : exit status 70
output : Network error, unable to connect to server. Please see /var/log/rhsm/rhsm.log for more information.
Registering to: subscription.rhsm.redhat.com:443/subscription
The system has been registered with ID: e3f3d67d-c835-4f7c-a2e9-ac9d94b9e2ef {code}
CDK is still marked as started in servers view.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years
[JBoss JIRA] (JBIDE-24952) windows slaves define JDK 5 - 8 variables but do not have those JDKs installed
by Pavol Srna (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24952?page=com.atlassian.jira.plugi... ]
Pavol Srna updated JBIDE-24952:
-------------------------------
Attachment: ls_nativetools.txt
> 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: Pavol Srna
> 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)
7 years
[JBoss JIRA] (JBIDE-24952) windows slaves define JDK 5 - 8 variables but do not have those JDKs installed
by Pavol Srna (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24952?page=com.atlassian.jira.plugi... ]
Pavol Srna updated JBIDE-24952:
-------------------------------
Attachment: screen-global-config-redmark.png
> 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: Pavol Srna
> Fix For: 4.5.x
>
> Attachments: 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)
7 years
[JBoss JIRA] (JBIDE-24952) windows slaves define JDK 5 - 8 variables but do not have those JDKs installed
by Pavol Srna (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24952?page=com.atlassian.jira.plugi... ]
Pavol Srna updated JBIDE-24952:
-------------------------------
Attachment: screen-global-config.png
> 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: Pavol Srna
> Fix For: 4.5.x
>
> Attachments: 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)
7 years
[JBoss JIRA] (JBIDE-24952) windows slaves define JDK 5 - 8 variables but do not have those JDKs installed
by Pavol Srna (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24952?page=com.atlassian.jira.plugi... ]
Pavol Srna updated JBIDE-24952:
-------------------------------
Attachment: (was: Screenshot 2017-10-23 21.49.30.png)
> 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: Pavol Srna
> Fix For: 4.5.x
>
>
> 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)
7 years
[JBoss JIRA] (JBIDE-24952) windows slaves define JDK 5 - 8 variables but do not have those JDKs installed
by Pavol Srna (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24952?page=com.atlassian.jira.plugi... ]
Pavol Srna updated JBIDE-24952:
-------------------------------
Attachment: Screenshot 2017-10-23 21.49.30.png
> 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: Pavol Srna
> Fix For: 4.5.x
>
> Attachments: Screenshot 2017-10-23 21.49.30.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)
7 years