question: private Map < String , String > env ( String inJvmArgs ) { String jvmArgs = inJvmArgs ; LocalConfiguration config = getConfiguration ( ) ; Map < String , String > env = new HashMap < String , String > ( ) ; if ( jvmArgs == null ) { jvmArgs = config . getPropertyValue ( GeneralPropertySet . JVMARGS ) ; } if ( jvmArgs != null ) { env . put ( "JVM_ARGS" , jvmArgs ) ; } String javaHome = config . getPropertyValue ( GeneralPropertySet . JAVA_HOME ) ; if ( javaHome == null ) { javaHome = System . getProperty ( "java.home" ) ; } env . put ( "JAVA_HOME" , javaHome ) ; return env ; }
target:  Create a man of environment variables using the passed in jvmArgs.