JBOSS自带环境变量,“:”前为Key后为Value 可以通过System.getProperty("XXX")获得 jboss.home.dir:D:\jboss jboss.home.url:file:/D:/jboss/ jboss.server.home.dir:D:\jboss\server\cithinc jboss.server.home.url:file:/D:/jboss/server/cithinc/ jboss.server.config.url:file:/D:/jboss/server/cithinc/conf/ jboss.common.lib.url:file:/D:/jboss/common/lib/ jboss.lib.url:file:/D:/jboss/lib/ jboss.server.temp.dir:D:\jboss\server\cithinc\tmp jboss.common.base.url:file:/D:/jboss/common/ jboss.server.log.dir:D:\jboss\server\cithinc\log jboss.server.lib.url:file:/D:/jboss/server/cithinc/lib/ java.rmi.server.codebase:http://192.168.22.211:8083/ jboss.server.data.dir:D:\jboss\server\cithinc\data user.dir:D:\jboss\bin jboss.server.base.dir:D:\jboss\server jboss.server.base.url:file:/D:/jboss/server/
可以通过System.getProperty("XXX")获得
jboss.home.dir:D:\jboss
jboss.home.url:file:/D:/jboss/
jboss.server.home.dir:D:\jboss\server\cithinc
jboss.server.home.url:file:/D:/jboss/server/cithinc/
jboss.server.config.url:file:/D:/jboss/server/cithinc/conf/
jboss.common.lib.url:file:/D:/jboss/common/lib/
jboss.lib.url:file:/D:/jboss/lib/
jboss.server.temp.dir:D:\jboss\server\cithinc\tmp
jboss.common.base.url:file:/D:/jboss/common/
jboss.server.log.dir:D:\jboss\server\cithinc\log
jboss.server.lib.url:file:/D:/jboss/server/cithinc/lib/
java.rmi.server.codebase:http://192.168.22.211:8083/
jboss.server.data.dir:D:\jboss\server\cithinc\data
user.dir:D:\jboss\bin
jboss.server.base.dir:D:\jboss\server
jboss.server.base.url:file:/D:/jboss/server/