Is it possible to pass credentials for monitored resource to JConsole while starting it via command line. I\'ve got the command like that right now.
${jdk.ho
I don't think there is a command line access option to do this. It's a sensible approach since it would reveal credentials in the process signature which might be visible to others.
However, you can specify a password file using the system property com.sun.management.jmxremote.password.file.
These options are documented here.