In Java How to Print all Environment Properties value using ProcessBuilder?

When you run Java Program locally in Terminal Window or in Eclipse IDE, there are lots of Environment Variable which plays key role during program execution.
Here are list of Environment properties for your reference:
PATH JAVA_STARTED_ON_FIRST_THREAD_78766 SHELL USER TMPDIR APP_ICON_78766 SSH_AUTH_SOCK JAVA_MAIN_CLASS_80856 XPC_FLAGS __CF_USER_TEXT_ENCODING Apple_PubSub_Socket_Render LOGNAME XPC_SERVICE_NAME HOME DIRECTORY
All of these values are used and critical to
Leave a Reply