Skip to main content

1.5 JMX and Web Start?

2 replies [Last post]
Joined: 2003-06-17

Is there a way to enable the build-in JMX in 1.5 when running my application via Web Start?

If I run my application from the command line I can supply the following VM arguments
and then I can check my application via jconsole from the JDK

As I read the jnlp description the -D parameter is considered unsafe and if I try to use them in my jnlp file it is as if they havent been set.

I use JDK build 1.5.0-rc-b63 on Windows XP Service Pack 2.

Is there a way?


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-17

I have allready tried that - it dosnt work.
I suppose the VM initializes the JMX at startup if the arguments are present or something.

Joined: 2003-11-08

I'm sorry I don't know much about jmx but can't you just use System.setProperty("", "1090") ... at the beginning of your code ?