From c75bcd97b237373db362ef48fd8153abd9d8ad7c Mon Sep 17 00:00:00 2001
From: Damon Lu <59256766+WhatDamon@users.noreply.github.com>
Date: Sun, 1 Feb 2026 16:19:33 +0800
Subject: [PATCH] =?UTF-8?q?docs:=20=E5=9C=A8=E8=B4=A1=E7=8C=AE=E6=96=87?=
=?UTF-8?q?=E6=A1=A3=E4=B8=AD=E6=B7=BB=E5=8A=A0=E4=B8=93=E9=97=A8=E9=92=88?=
=?UTF-8?q?=E5=AF=B9=20macOS=20=E7=9A=84=20JDK=20=E7=89=88=E6=9C=AC?=
=?UTF-8?q?=E6=A3=80=E6=9F=A5=E5=91=BD=E4=BB=A4=20(#5165)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
docs/Contributing.md | 14 +++++++++++++-
docs/Contributing_zh.md | 14 +++++++++++++-
2 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/docs/Contributing.md b/docs/Contributing.md
index 5c008ba48..ddf2b0ead 100644
--- a/docs/Contributing.md
+++ b/docs/Contributing.md
@@ -28,7 +28,7 @@ OpenJDK 64-Bit Server VM (build 25+37-LTS, mixed mode, sharing)
-Linux/macOS/FreeBSD
+Linux/FreeBSD
```
> $JAVA_HOME/bin/java -version
@@ -39,6 +39,18 @@ OpenJDK 64-Bit Server VM (build 25+37-LTS, mixed mode, sharing)
+
+macOS
+
+```
+> /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)
+```
+
+
+
### Get HMCL Source Code
- You can get the latest source code via [Git](https://git-scm.com/downloads):
diff --git a/docs/Contributing_zh.md b/docs/Contributing_zh.md
index 7e284ead4..825865956 100644
--- a/docs/Contributing_zh.md
+++ b/docs/Contributing_zh.md
@@ -27,7 +27,7 @@ OpenJDK 64-Bit Server VM (build 25+37-LTS, mixed mode, sharing)
-Linux/macOS/FreeBSD
+Linux/FreeBSD
```
> $JAVA_HOME/bin/java -version
@@ -38,6 +38,18 @@ OpenJDK 64-Bit Server VM (build 25+37-LTS, mixed mode, sharing)
+
+macOS
+
+```
+> /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)
+```
+
+
+
### 获取 HMCL 源码
- 通过 [Git](https://git-scm.com/downloads) 可以获取最新源码: