About 1,570 results
Open links in new tab
  1. How to read a configuration file in Java - Stack Overflow

    Now, I want to make one configuration file, in which I put all these data, and at the run time my code fetches these. How can I make configuration file for the above task ?

  2. Getting Started with Java Properties - Baeldung

    Jul 25, 2025 · As such, the language has first-class support for properties with java.util.Properties, a utility class designed for handling these types of configuration files.

  3. Config File In Java: Explained - BrowserStack

    Dec 20, 2024 · This guide explains what a Config File in Java is, why it’s important, the different types available, how to create, read, and modify them, and the best practices for managing configurations …

  4. Installing the JDK and the JRE with a Configuration File - Oracle

    When you launch the JRE or JDK installer, it looks for a configuration file with this specific path and name. The following table lists the installer configuration file options that apply for each operating …

  5. Java File Structure: Where Does Config Live? - javaspring.net

    Nov 12, 2025 · In Java development, organizing files and managing configuration is crucial for building scalable and maintainable applications. Configuration files store settings that control the

  6. Parsing config files with Java - Opensource.com

    Jul 7, 2021 · There are many different formats for config files, including INI, JSON, YAML, and XML, and every language parses these languages differently. This article discusses some of the ways you …

  7. Understanding Configuration Files in Java Applications

    Learn how to effectively use configuration files in Java to manage application settings and improve maintainability.

  8. Java’s Properties.load () Method Explained - Medium

    Nov 11, 2024 · In this example, we use a FileInputStream to read from a file called config.properties. The load() method then parses the file and stores each key-value pair in the properties object. You …

  9. Reading and writing configuration for Java application using

    May 17, 2020 · To save the properties into the file permanently, use the store () method for plain text file and storeToXML () method for XML file. And we have to supply either a java.io.Writer object or …

  10. How do I read a configuration file using java.util.Properties?

    May 14, 2023 · When we have an application that used a text file to store a configuration, and the configuration is typically in a key=value format then we can use java.util.Properties to read that …