Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java System property for Windows Server 2016 TP5  RSS feed

 
shwetha lakshmi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using JRE 1.8. And I use Java method " System.getProperty("os.name") " to get OS name in my application.

On Windows Server 2016 Technical Preview 5, it is returning wrong OS name as Windows server 2012 R2.
I would like to know if there is a fix for it in the later releases of JRE. It will be of great help if anyone can confirm on this.

Thanks!!
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!