JDK-8159948 : Java does not recognize Windows Server 2016 Datacenter
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 8u91
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2012
  • CPU: x86
  • Submitted: 2016-06-14
  • Updated: 2024-11-06
  • Resolved: 2017-04-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8u152Resolved
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
 
C:\SoftwareAG\jvm\jvm\bin>java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Windows Server 2016 Datacenter Technical Preview 5 64-bit (10.0, Build 14300) (14300.rs1_release_svc.160428-1819

A DESCRIPTION OF THE PROBLEM :
When running Java 8 on Windows Server 2016 Datacenter Technical Preview 5 64-bit (10.0, Build 14300) (14300.rs1_release_svc.160428-1819) and request the OS Version through os.version them Windows 2016 is not recognized.

11:44:01 info NAT.UTIL> Java System Properties
11:44:01 info NAT.UTIL> os.name            : Windows NT (unknown)
11:44:01 info NAT.UTIL> os.version         : 10.0
11:44:01 info NAT.UTIL> os.arch            : x86

When and  in what build of Java 8 will this be fixed?

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Request os.name and it will return the wrong os.name and version

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
It should detect Windows 2016 properly
ACTUAL -
11:44:01 info NAT.UTIL> Java System Properties
11:44:01 info NAT.UTIL> os.name            : Windows NT (unknown)
11:44:01 info NAT.UTIL> os.version         : 10.0
11:44:01 info NAT.UTIL> os.arch            : x86

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
None available


Comments
Duplicate of JDK-8150490
11-04-2017

We attempted the attached sample codes with 8ub152 on Window Server 2016. It outputs as following C:\Users\primanga\Downloads>jdk1.8.0_152\bin\java.exe SystemProperty Windows Server 2016 10.0 amd64 It works as expected, so marking as fixed.
11-04-2017

Could be duplicate of JDK-8150490. Need to backport.to 8.
09-02-2017

It is not suitable to set affected version as 9. Please reset it. I attempted similar sample codes with 9 promotion b156 on Window Server 2016 Datacenter x64. It outputs as following os.name : Windows Server 2016 os.version : 10.0 os.arch : amd64
09-02-2017

Windows 2016 is a supported config in JDK 9: https://jdk9.java.net/jdk9_supported_platforms.html
08-02-2017

This should be an enhancement requeste to add "Windows 2016", in the Java system properties.
21-06-2016