os-maven-plugin icon indicating copy to clipboard operation
os-maven-plugin copied to clipboard

Detected os.name when running on Apple Silicon M1

Open aalmiray opened this issue 3 years ago • 1 comments

Apparently Zulu reports the value of "os.name" to be "Mac". The code currently looks for "macosx" or "osx".

aalmiray avatar Jun 06 '21 09:06 aalmiray

Hmm... Homebrew's OpenJDK 16.0.1, os.name returns Mac OS X, but ${os.detected.name} still comes back as osx. Any idea why it doesn't behave the same?

$(brew --prefix openjdk)/bin/java -XshowSettings:properties -version 2>&1 |grep os.name
#    os.name = Mac OS X

tresf avatar Jul 29 '21 06:07 tresf