List of usage examples for com.google.common.base StandardSystemProperty JAVA_LIBRARY_PATH
StandardSystemProperty JAVA_LIBRARY_PATH
To view the source code for com.google.common.base StandardSystemProperty JAVA_LIBRARY_PATH.
Click Source Link
From source file:org.ow2.proactive.resourcemanager.updater.RMNodeUpdater.java
/** * Returns a set containing all standard java system properties, which will not be forwarded to the new JVM * Only java.io.tmpdir and java.library.path will be forwarded. * @return set of property names/* ww w . ja v a 2 s .co m*/ */ private Set<String> allSystemProperties() { Set<String> standardPropertySet = new HashSet<>(); for (StandardSystemProperty stdProperty : StandardSystemProperty.values()) { if (stdProperty != StandardSystemProperty.JAVA_IO_TMPDIR && stdProperty != StandardSystemProperty.JAVA_LIBRARY_PATH) { // tmp dir and java library path can be overridden by user standardPropertySet.add(stdProperty.key()); } } return standardPropertySet; }