java - Read environment variables on Oracle 10gas -


when using oem 10gas, can set environment variables. how can read these application? i've tried using jndi, system.getenv() (throws exception on java 1.4), system.getproperty() .. no luck.

you can set system properties vm arguments ("-dfoo=bar") , read them system.getproperty("foo"). put these in opmn.xml, or in environment variable oc4j_jvm_args if using oc4j standalone.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -