arthas icon indicating copy to clipboard operation
arthas copied to clipboard

Windows中使用arthas报错:[ERROR] Start arthas failed, exception stack trace: com.sun.tools.attach.AttachNotSupportedException: no providers installed

Open hiraeth-wangd opened this issue 1 year ago • 5 comments

这个报错是什么意思呢,在Windows中执行的 image

hiraeth-wangd avatar Feb 01 '24 01:02 hiraeth-wangd

没有找到tools.jar。你的java_home路径是jre的,不包含这个包

sirius19 avatar Feb 01 '24 03:02 sirius19

没有找到tools.jar。你的java_home路径是jre的,不包含这个包 tool.jar是在lib目录里面的,我是要将他拿出来吗 image

hiraeth-wangd avatar Feb 01 '24 06:02 hiraeth-wangd

image 修改java_home

sirius19 avatar Feb 01 '24 07:02 sirius19

image 修改java_home

我的java_home是指向jdk的根目录,不清楚为什么arthas会指向jre。与我安装了多个jdk版本有关吗 image

hiraeth-wangd avatar Feb 01 '24 09:02 hiraeth-wangd