开发者

Unset environment variable when Eclipse application is launched?

开发者 https://www.devze.com 2023-03-27 03:31 出处:网络
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.

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消