Eclipse下运行System.getenv()返回null
在Eclipse下运行System.getenv("COM_TRUNK")返回null,在shell下运行则正常。
在/etc/environment中添加COM_TRUNK=/home/ubuntu/com既可。
发布时间: 2012-12-23 11:28:15 作者: rapoo
Eclipse下运行System.getenv()返回null
在Eclipse下运行System.getenv("COM_TRUNK")返回null,在shell下运行则正常。
在/etc/environment中添加COM_TRUNK=/home/ubuntu/com既可。