Java system properties and environment variables - Stack Overflow
System properties are set on the java command line using the -Dpropertyname=value syntax. They can also be added at runtime using System.setProperty(name, value) or via the various System.getProperties().load() methods
Environment variables are set in the OS, eg in linux export HOME=/Users/myusername or on windows SET WINDIR=C:\Windows etc, and, unlike properties, may not be set at runtime.
Read full article from Java system properties and environment variables - Stack Overflow
No comments:
Post a Comment