Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

as.bat报错 #2832

Open
1 task
quanchangnai opened this issue May 13, 2024 · 0 comments
Open
1 task

as.bat报错 #2832

quanchangnai opened this issue May 13, 2024 · 0 comments

Comments

@quanchangnai
Copy link

  • 我已经在 issues 里搜索,没有重复的issue。

环境信息

  • arthas-boot.jar 或者 as.sh 的版本:

  • as.bat

  • REM ----------------------------------------------------------------------------
    REM program : Arthas
    REM author : Core Engine @ Taobao.com
    REM date : 2015-11-11
    REM version : 3.0
    REM ----------------------------------------------------------------------------

  • Arthas 版本: xxx

  • 操作系统版本: win11

  • 目标进程的JVM版本: openjdk 11 2018-09-25

  • 执行arthas-boot的版本: xxx

重现问题的步骤

C:\Users\quan>as.bat 30428
环境变量 JAVA_TOOL_OPTIONS 没有定义
JAVA_HOME: C:\Program Files\Java\jdk-11
telnet port: 3658
http port: 8563
Can not find lib\tools.jar under C:\Program Files\Java\jdk-11!
If java version <= 1.8, please make sure JAVA_HOME point to a JDK not a JRE.
If java version >= 9, try to run as.bat --ignore-tools

期望的结果

没有设置JAVA_TOOL_OPTIONS 环境完全可以用默认的,不要报错
openjdk 11 lib目录下本来就没有tools.jar,不应该报错

实际运行的结果

各种报错

把异常信息贴到这里
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant