I have some Mbeans in my project. To view them in jconsole, i need to provide the following parameters to the jvm.
java [login to view URL] -Dcom.sun.management.jmxremote.port=1617 -Dcom.sun.management.jmxremote.authenticate=false etc.
I dont want to do this.
Requirement:
To configure these parameters from within the code or something like that so that i can run the program without explicitly providing these parameters to java.
Please dont bid if you have not tried this or are not sure about it.
The best solution will be awarded handsomely.