I can't get VisualVM working with eclipse, i was following these instructions http://visualvm.java.net/download.html and also these http://visualvm.java.net/gettingstarted.html
The problem is that it cant see JDK location which is "C:\Program Files\Java\jdk1.8.0_05", this happens when i try to run the application
Here is the original content of visualvm.conf file
http://pastebin.com/K9TnQb0G
Unfortunately my command line is somehow broken too(or I'm the one who dont know how to do it)
First I tryed to install JProbe but it wasnt working, then I tryed VisualVM and it also isn't working. How can i resolve this please? I wasted 5 hours and its driving me crazy.
Use VisualVM bundled with GraalVMGraalVM contains a fully compliant Java SE 8, Java SE 11, and Java SE 17 JDK distribution based on Oracle JDK and OpenJDK. It features an innovative JIT compiler which may noticeably improve performance of Java applications, compared to the standard Oracle JDK or OpenJDK.
Java VisualVM is a tool that provides a visual interface for viewing detailed information about Java applications while they are running on a Java Virtual Machine (JVM), and for troubleshooting and profiling these applications.
To run it, just click on the jvisualvm.exe icon. All you need to do is click on the jvisualvm.exe and the application starts up. All Java applications running will be displayed on the right hand side navigation bar. Note that there is no need to register your application with VisualVM - it'll appear automatically.
Java VisualVM was first bundled with the the Java platform, Standard Edition (Java SE) in JDK version 6, update 7.
Uncomment line 72 of your visualvm.conf file, and set the value:
#visualvm_jdkhome="/path/to/jdk"
For MAC users, add below line to visualvm.conf file which can be located at /Applications/VisualVM.app/Contents/Resources/visualvm/etc
visualvm_jdkhome="/Library/Java/JavaVirtualMachines/<jdk version>/Contents/Home"
Add the JDK bin directory to the PATH
environmental variable
PATH=C:\Program Files\Java\jdk1.8.0_05\bin;%PATH%
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With