jmxterm: Operation requires JDK instead of JRE
Forum » projects / jmxterm » jmxterm: Operation requires JDK instead of JRE
Started by: ivan (guest)
On: 1267449366|%e %b %Y, %H:%M %Z|agohover
Number of posts: 3
rss icon RSS: New posts
jmxterm: Operation requires JDK instead of JRE
ivan (guest) 1267449366|%e %b %Y, %H:%M %Z|agohover

hi all,
i'm trying to start jmxterm (java -jar jmxterm.jar) and listing all running JVM processes (command 'jvms' in jmxterm) … . but jvms commnad throw me exception like this:
#UnsupportedOperationException: Operation requires JDK instead of JRE.
I'm using java:
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)

could you give me some advice where is problem or what i did wrong??

thanks,

ivan

Reply  |  Options
Unfold jmxterm: Operation requires JDK instead of JRE by ivan (guest), 1267449366|%e %b %Y, %H:%M %Z|agohover
Re: jmxterm: Operation requires JDK instead of JRE
jiaqijiaqi 1267497081|%e %b %Y, %H:%M %Z|agohover

To list running JVMs, Jmxterm needs jars from JDK_HOME/lib that doesn't exist in JRE. Is the java command that you ran from a JDK or JRE? For example, …/jdk1.6.0/bin/java is good, …/jdk1.6.0/jre/bin/java or …/jre1.6.0/bin is bad. If you are not sure, run "which java" and let me know the result. Thank you.

Regards
-Jiaqi

Unfold Re: jmxterm: Operation requires JDK instead of JRE by jiaqijiaqi, 1267497081|%e %b %Y, %H:%M %Z|agohover
Re: jmxterm: Operation requires JDK instead of JRE
ivan (guest) 1267523159|%e %b %Y, %H:%M %Z|agohover

thanks for reply. it's clear.

Reply  |  Options
Unfold Re: jmxterm: Operation requires JDK instead of JRE by ivan (guest), 1267523159|%e %b %Y, %H:%M %Z|agohover
New Post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License