In "WINDOWS SERVER 2012 RC2" JAVA_HOME is not automatically selected

Description

Actual:
In "WINDOWS SERVER 2012 RC2" JAVA_HOME is not automatically selected

Expected:
Same behavior as in Windows 2016 server

Environment

None

Activity

Show:
Yaniv Marom Nachumi
May 7, 2019, 7:20 PM

Workaround exists:
Manually set JAVA_HOME to either openjdk (INSTALLATION_HOME/Aerobase/embedded/openjdk/jre) or any other user installed jdk.

Yaniv Marom Nachumi
May 7, 2019, 8:53 PM

Several cases were tested successfully using Windows 2012:

  • Embedded OpenJDK

  • Oracle JDK

  • Running from cmd

  • Running from Powershell

  • Uninstalling and Reinstalling

- Please state additional detail if exists.
Did you manage to reproduce on any server beside originally reported server?

Yaniv Marom Nachumi
May 8, 2019, 4:22 AM

Using code snippet didn't reproduce this issue

Yaniv Marom Nachumi
May 8, 2019, 6:53 AM
Edited

The issue is related to PowerShell 4.
Test Script:

Running this update https://www.microsoft.com/en-us/download/details.aspx?id=54616 resolve this issue.

Yaniv Marom Nachumi
June 29, 2019, 5:30 PM

New-TemporaryFile Require Powershell 5+

Assignee

Yaniv Marom Nachumi

Reporter

Elena Yasterson

Labels

Components

Fix versions

Affects versions

Priority

Medium
Configure