码迷,mamicode.com
首页 > 系统相关 > 详细

eclipse中Program arguments和VM arguments的区别(args[]的参数传入)

时间:2015-03-07 18:33:14      阅读:192      评论:0      收藏:0      [点我收藏+]

标签:

转自:qimiguang
http://blog.csdn.net/qimiguang/article/details/11559553


实际上program arguments中的值作为args[]的参数传入的,它通过主函数中的args来取值。

而VMArguments是设置的虚拟机的属性,要传给java虚拟机的。调用方法:System.getProperty("PropertyName")。

eclipse中Program arguments和VM arguments的区别(args[]的参数传入)

标签:

原文地址:http://www.cnblogs.com/XDJjy/p/4320633.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!