Help needed on Java Attach API
Hi,
I am using java 6 and trying to use Attach API to do local jmx monitoring.
I was able to use the api with jdk6 and connect to other jvms in development environment.
How do i use the api with jre instead of jdk so that it can be used in customer environment? I added tools.jar in the classpath but i get the below error,
"java.lang.UnsatisfiedLinkError: no attach in java.library.path"
I also tried passing "java.library.path"(pointing to attach.dll) as a VM argument but still get the same error.





Hi,
I am using java 6 and trying to use Attach API to do local jmx monitoring.
I was able to use the api with jdk6 and connect to other jvms in development environment.
How do i use the api with jre instead of jdk so that it can be used in customer environment? I added tools.jar in the classpath but i get the below error,
"java.lang.UnsatisfiedLinkError: no attach in java.library.path"
I also tried passing "java.library.path"(pointing to attach.dll) as a VM argument but still get the same error.
---