软件是对质量的不懈追求

websphere6.1 设定虚拟机参数

Application Servers > server1 > Process Definition > Java Virtual Machine > Custom Properties

虚拟机参数在命令行的形式为 -Dproperty=value,在程序中可以用System.getProperty("property")取值。
利用这个特性可以对程序运行进行控制,避免代码的修改。




posted on 2010-03-15 09:57 BlakeSu 阅读(251) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航: