在自动脚本中配置:
JAVA_OPTS=" - server -Xms1g -Xmx1g -Dhttp.proxyHost=192.168.1.101 -Dhttp.proxyPort=10111"
获取自定义参数:
String 参数值 = System.getProperty("参数名") ;
String host = System.getProperty("http.proxyHost") ;
String port = System.getProperty("http.proxyPort") ;