How To get list of all system defined properties in java

| By Webner

Just write below line in your main java program and it will show you all System defined properties.

Some of the important properties that we can use generally:

1. user.dir will give project root directory location.

2. java.class.path will give the classpath which class loader used to find user defined location.

3. java.home will give the current jre location you are using .

4. user.home will give user home directory location.

Webner Solutions is a Software Development company focused on developing CRM apps (Salesforce, Zoho), LMS Apps (Moodle/Totara), Websites and Mobile apps. If you need Web development or any other software development assistance please contact us at

Leave a Reply

Your email address will not be published. Required fields are marked *