You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started/macos.md
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -92,8 +92,7 @@ xcode-select --install
92
92
93
93
### On JAVA_HOME Command
94
94
95
-
The information property file, _Info.plist_, is in the top level _Contents/_ directory.
96
-
This means that GraalVM participates in the macOS-specific `/usr/libexec/java_home` mechanism.
97
-
Depending on other JDK installation(s) available, it is now possible that `/usr/libexec/java_home -v23` returns `/Library/Java/JavaVirtualMachines/<graalvm>/Contents/Home`.
98
-
You can run `/usr/libexec/java_home -v23 -V` to see the complete list of JVMs available to the `java_home` command.
99
-
This command sorts the JVMs in decreasing version order and chooses the top one as the default for the specified version.
95
+
The information property file, _Info.plist_, is located in the top-level _Contents/_ directory.
96
+
This allows GraalVM to integrate with the macOS-specific `/usr/libexec/java_home` mechanism.
97
+
Depending on other installed JDKs, running `/usr/libexec/java_home -v<version>` may return`/Library/Java/JavaVirtualMachines/<graalvm>/Contents/Home`.
98
+
To view all JVMs recognized by `java_home`, run `/usr/libexec/java_home -V`. This command lists JVMs in descending version order.
0 commit comments