docs: 在贡献文档中添加专门针对 macOS 的 JDK 版本检查命令 (#5165)
This commit is contained in:
@@ -28,7 +28,7 @@ OpenJDK 64-Bit Server VM (build 25+37-LTS, mixed mode, sharing)
|
|||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Linux/macOS/FreeBSD</summary>
|
<summary>Linux/FreeBSD</summary>
|
||||||
|
|
||||||
```
|
```
|
||||||
> $JAVA_HOME/bin/java -version
|
> $JAVA_HOME/bin/java -version
|
||||||
@@ -39,6 +39,18 @@ OpenJDK 64-Bit Server VM (build 25+37-LTS, mixed mode, sharing)
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>macOS</summary>
|
||||||
|
|
||||||
|
```
|
||||||
|
> /usr/libexec/java_home --exec java -version
|
||||||
|
openjdk version "25" 2025-09-16 LTS
|
||||||
|
OpenJDK Runtime Environment (build 25+37-LTS)
|
||||||
|
OpenJDK 64-Bit Server VM (build 25+37-LTS, mixed mode, sharing)
|
||||||
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### Get HMCL Source Code
|
### Get HMCL Source Code
|
||||||
|
|
||||||
- You can get the latest source code via [Git](https://git-scm.com/downloads):
|
- You can get the latest source code via [Git](https://git-scm.com/downloads):
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ OpenJDK 64-Bit Server VM (build 25+37-LTS, mixed mode, sharing)
|
|||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Linux/macOS/FreeBSD</summary>
|
<summary>Linux/FreeBSD</summary>
|
||||||
|
|
||||||
```
|
```
|
||||||
> $JAVA_HOME/bin/java -version
|
> $JAVA_HOME/bin/java -version
|
||||||
@@ -38,6 +38,18 @@ OpenJDK 64-Bit Server VM (build 25+37-LTS, mixed mode, sharing)
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>macOS</summary>
|
||||||
|
|
||||||
|
```
|
||||||
|
> /usr/libexec/java_home --exec java -version
|
||||||
|
openjdk version "25" 2025-09-16 LTS
|
||||||
|
OpenJDK Runtime Environment (build 25+37-LTS)
|
||||||
|
OpenJDK 64-Bit Server VM (build 25+37-LTS, mixed mode, sharing)
|
||||||
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### 获取 HMCL 源码
|
### 获取 HMCL 源码
|
||||||
|
|
||||||
- 通过 [Git](https://git-scm.com/downloads) 可以获取最新源码:
|
- 通过 [Git](https://git-scm.com/downloads) 可以获取最新源码:
|
||||||
|
|||||||
Reference in New Issue
Block a user