PROPERTIES File Extension
Have a problem opening a .PROPERTIES file? We collect information about file formats and can explain what PROPERTIES files are. Additionally we recommend software suitable for opening or converting such files.
Have a problem opening a .PROPERTIES file? We collect information about file formats and can explain what PROPERTIES files are. Additionally we recommend software suitable for opening or converting such files.
The .properties extension associates with plaintext files that store configurable properties for computer programs written in a number of programming languages. Most popular uses are Java and JavaScript.
The purpose of a .properties file is to enable passing some set of properties to the program through the standard read method (the API-accessible Properties object in Java). A common .properties file stores XML-structured pairs of keys and values, while more complicated configuration setups might involve rather complex XML syntax.
In Java, a .properties file can be embedded in a .jar distributable during compilation, and so properties will be loaded from it as a stream 'inside' a program. Besides that, when executed, a .jar program can look into a specified directory for a standalone .properties file to read from it.
There are no special requirements concerning the name of the extension so it can be anything, but it is better to keep the conventional name. This can help avoid some hard-to-track runtime errors.