JMX with JDK1.4 - java.lang.management.ManagementFactory

Can anyone please tell me how to retrieve remote machine's JVM parameters using JMX with JDK1.4?
I have tried adding the JMX 1.2 implementation jars into the classpath of my program,
I can able to register the sample mbeans into the mbean remote server properly.

But, my requirement is to get the RuntimeMXBean(Run time VM Params) from the remote machine.
Is there any way to fetch the RuntimeMXBeans with jdk1.4?

->  I can able to fetch the RuntimeMXBeans  in JDK 1.5 through
RuntimeMXBean mxbean=ManagementFactory.getRuntimeMXBean();
(which cannot be done in JDK1.4, since java.lang.management.ManagementFactory class is not available in this version)

I have tried lots of ways to fix this, but i couldn't.
Please help me in fetching the remote JVM parameters.
Below is the my application configuration:
My Client is running on JDK1.5
Server - JDK1.4.

Thanks,
Saj







saji27Asked:
Who is Participating?
 
CEHJConnect With a Mentor Commented:
I don't know for certain but doubt you can. You'll have to upgrade the VM
0
All Courses

From novice to tech pro — start learning today.