2021年7月28日 星期三
2021年5月26日 星期三
技巧的設定JAVA main 測試環境
2021年4月5日 星期一
2020年12月24日 星期四
2020年12月17日 星期四
時間是最珍貴的資源
時間是最珍貴的資源,不能管理時間,便什麼也無法管理。
Time is the scarcest resource and unless it is managed nothing else can be managed.
—— 彼得.杜拉克 - 管理學之父
2020年12月10日 星期四
Java system properties and environment variables
- System properties are set on the Java command line using the -Dpropertyname=value syntax. They can also be added at runtime using System.setProperty(String key, String value) or via the various System.getProperties().load() methods.
To get a specific system property you can use System.getProperty(String key) or System.getProperty(String key, String def).
- Environment variables are set in the OS, e.g. in Linux export HOME=/Users/myusername or on Windows SET WINDIR=C:\Windows etc, and, unlike properties, may not be set at runtime.
To get a specific environment variable you can use System.getenv(String name).
2020年12月3日 星期四
訂閱:
意見 (Atom)
Ads
