support for enviroment variables defined in java application launchers

add support for environment variables for java application