开发者

Eclipse and setting global jvm system properties i.e. -Dxxx=yyy

开发者 https://www.devze.com 2023-03-23 08:33 出处:网络
I have lot of junits that depend upon the same jvm system props. Currentl开发者_开发问答y, I need to add these specifically for each of the junit\'s. The best I could do was to create a new VARIABLE a

I have lot of junits that depend upon the same jvm system props. Currentl开发者_开发问答y, I need to add these specifically for each of the junit's. The best I could do was to create a new VARIABLE and then reuse the variable across all these tests. Still, I need to specify this VARIABLE explicitly for each of the tests. Is there any way I can specify this at the eclipse level?


Under Preferences -> Java -> Installed JREs. You can edit the JRE installation and set default VM arguments.

0

精彩评论

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