OS and architecture names are used in system properties, JMOD files (ModuleTarget class file attributes) and JDK bundle names.
OS names
System property: "Linux", "Mac OS X", "SunOS", "Windows .*"
JMOD file: "linux", "macos", "solaris", "windows"
Bundle: "linux", "osx", "solaris", "windows"
Architecture names
System property: "i386" (linux), "x86" (windows), "amd64" (linux & windows), "x86_64" (macos), "sparcv9", "arm", "aarch64"
JMOD file: "x86", "amd64", "sparcv9", "arm", "aarch64"
Bundle: "x86", "x64", "sparcv9", "arm32", "arm64"
These names should be revisited for consistency. See [1] for the discussion.
[1] http://mail.openjdk.java.net/pipermail/jigsaw-dev/2017-April/011985.html
OS names
System property: "Linux", "Mac OS X", "SunOS", "Windows .*"
JMOD file: "linux", "macos", "solaris", "windows"
Bundle: "linux", "osx", "solaris", "windows"
Architecture names
System property: "i386" (linux), "x86" (windows), "amd64" (linux & windows), "x86_64" (macos), "sparcv9", "arm", "aarch64"
JMOD file: "x86", "amd64", "sparcv9", "arm", "aarch64"
Bundle: "x86", "x64", "sparcv9", "arm32", "arm64"
These names should be revisited for consistency. See [1] for the discussion.
[1] http://mail.openjdk.java.net/pipermail/jigsaw-dev/2017-April/011985.html
- relates to
-
JDK-8179481 JAVA_VERSION, JAVA_FULL_VERSION confusion in release file
-
- Closed
-
-
JDK-8179563 Revisit the properties in the release file generated by jlink
-
- Open
-
-
JDK-8175819 OS name and arch in JMOD files should match the values as in the bundle names
-
- Closed
-