From 413a9bccdd1e807648b96358e29c45846ebe05e5 Mon Sep 17 00:00:00 2001 From: hengyunabc Date: Tue, 26 Apr 2022 15:44:54 +0800 Subject: [PATCH] update CONTRIBUTING.md --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c1e56a516..3f106b584 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,7 +21,7 @@ Please refer to [README.MD at tutorials/katacoda](tutorials/katacoda/README.md#c * Arthas runtime supports JDK6+ * To build Arthas requires JDK7+, because of the source code import JDK7 classes, such as `java.lang.management.BufferPoolMXBean`. - +> It is recommended to use JDK8 to compile, and you will encounter problems when using a higher version. Reference https://github.com/alibaba/arthas/tree/master/.github/workflows ### Local Installation Recommend to use [`as-package.sh`](as-package.sh) to package, which will auto-install the latest Arthas to local `~/.arthas` and when debugging, Arthas will auto-load the latest version. @@ -91,6 +91,7 @@ Tip: you can use `--versions` to list all available versions. * Arthas运行支持JDK6+ * 编译Arthas要求JDK7+,因为使用到了jdk7里的`java.lang.management.BufferPoolMXBean`。 +> 建议使用JDK8来编译,使用高版本会遇到问题。参考 https://github.com/alibaba/arthas/tree/master/.github/workflows ### 安装到本地 本地开发时,推荐执行`as-package.sh`来打包,会自动安装最新版本的arthas到`~/.arthas`目录里。debug时会自动使用最新版本。