Comments (2)
Same thing with java 10:
java -jar sjk-0.10.jar ttop -p 8636 -n 20 -o CPU
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.gridkit.lab.jvm.attach.AttachAPI (file:/user/sjk-0.10.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.gridkit.lab.jvm.attach.AttachAPI
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Java home points to /usr/lib/jvm/java-10-oracle make sure it is not a JRE path
Failed to add tools.jar to classpath
java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
at org.gridkit.lab.jvm.attach.AttachAPI.<clinit>(AttachAPI.java:39)
at org.gridkit.lab.jvm.attach.AttachManager.<clinit>(AttachManager.java:73)
at org.gridkit.jvmtool.JmxConnectionInfo.getMServer(JmxConnectionInfo.java:72)
at org.gridkit.jvmtool.cmd.ThreadTopCmd$TTop.run(ThreadTopCmd.java:92)
at org.gridkit.jvmtool.cli.CommandLauncher.start(CommandLauncher.java:129)
at org.gridkit.jvmtool.SJK.main(SJK.java:11)
Failed to access MBean server: 8636
from jvm-tools.
Fixed in 0.10.1
from jvm-tools.
Related Issues (20)
- Bundle.properties in the right folder?
- ttop not working HOT 1
- Heap Interface ThreadSafe? HOT 1
- can we have something similar to jvmtop? HOT 1
- cpu profiling accuracy HOT 1
- retained size of objects issue HOT 6
- Failed to add tools.jar to classpath HOT 12
- java.rmi.UnmarshalException: error unmarshalling return HOT 3
- sjk cannot connect to MBean server with adopt openjdk 11 HOT 1
- Does SSA use asyncgetcalltrace or JVMTI getCallTrace to walkthrough Java stack trace HOT 2
- Add more security to MXPR HOT 5
- Inconsistent library versions notice.
- Unable to parse visualvm nps generated by visualvm 2.0.1 HOT 4
- Inconsistent indentation style HOT 1
- In mx command, get multiple attributes HOT 1
- Vulnerable Dependency: jcommander 1.30
- 使用./coat 命令执行*.sh文件中文乱码
- Wrong usage of Java home HOT 1
- Downloads ask for username/password HOT 1
- Security Vulnerability - Action Required: XXE vulnerability in the newest version of the jvm-tools
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jvm-tools.