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

Arthas 现在是否支持 jdk21 #2981

Open
chenchaoyun0 opened this issue Jan 6, 2025 · 1 comment
Open

Arthas 现在是否支持 jdk21 #2981

chenchaoyun0 opened this issue Jan 6, 2025 · 1 comment

Comments

@chenchaoyun0
Copy link

  • arthas-boot.jar 或者 as.sh 的版本: 4.0.4
  • Arthas 版本: 4.0.4
  • 操作系统版本: alpine
  • 目标进程的JVM版本: 21.04
  • 执行arthas-boot的版本: 4.0.4
    Arthas script version: 4.0.4
    [INFO] JAVA_HOME: /opt/java/openjdk
    as.sh: line 738: [: too many arguments
    as.sh: line 744: [: too many arguments
    Arthas home: /opt/arthas
    Calculating attach execution time...
    Attaching to 7 using version /opt/arthas...
    Error: Unable to initialize main class com.taobao.arthas.core.Arthas
    Caused by: java.lang.NoClassDefFoundError: com/sun/tools/attach/AgentLoadException

real 0m0.294s
user 0m0.100s
sys 0m0.014s
attach to target jvm (7) failed, check /root/logs/arthas/arthas.log or stderr of target jvm for any exceptions.

@chenchaoyun0
Copy link
Author

我使用的是 alpine/java:21-jre 进行构建的docker镜像

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