Git Product home page Git Product logo

Comments (2)

doom369 avatar doom369 commented on July 22, 2024

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.

aragozin avatar aragozin commented on July 22, 2024

Fixed in 0.10.1

from jvm-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.