Unset environment variable when Eclipse application is launched?
I've got a situation where a user has the 'JAVA_TOOL_OPTIONS' environment variable set on their workstation ... but the option is causing my Eclipse application to crash.
Is there a way, in the eclipse.ini file, that I can unset the JAVA_TOOL_OPTIONS environment variable?
Alternatively, is there a way I can just unset the -agentlib option on the JVM command line in the -vmargs section?
开发者_JAVA技巧This is on a Windows system.
Assuming that you deploy your application as a product, have you tried to edit the VM Arguments section in the Launching tab of the Product Configuration Editor?
精彩评论