Possible Duplicate:
Modify JVM args from inside the JVM
I found an old question about this Modify JVM args from inside the JVM. It is asked 3.5 years ago. Wondering if it is possible now?
Yes, right click the project. Click Run as then Run Configurations . You can change the parameters passed to the JVM in the Arguments tab in the VM Arguments box. That configuration can then be used as the default when running the project.
Click Edit Profile and select a profile from the list. Enable JVM Arguments. In the "Java Settings (Advanced)" section, check the "JVM Arguments" box. This will allow you to enter commands to modify the Minecraft program.
Step 1: Open the IDE and right-click on the application in which you want to pass VM arguments. Step 2: Click on the Run As » Run Configurations… Step 3: Click on the Arguments tab and in the VM arguments: box, type the arguments that you want to pass.
Nope, it's still not possible to change JVM arguments at runtime. For most of the settings it most likely never will be possible either.
In general no.
However there are some situations where you can change some specific configuration parameters at runtime, see e.g.:
Still, it is probably a bad idea to try to change JVM args at runtime - they are designed for one-off configuration of the runtime environment. If you find yourself wanting to change JVM arguments at runtime, I suspect that there is something wrong with your design in the first instance and you should look at alternative ways to achieve your objective.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With