L
L
l3m4rk2013-11-23 13:19:45
Java
l3m4rk, 2013-11-23 13:19:45

What is the correct way to store settings in a Java program?

More precisely, how to properly store settings in a desktop application without using the Preferences class. It is not possible to use it, because it stores settings in the registry, and on some computers the registry may not be available.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
ezavialov, 2013-11-23
@l3m4rk

Alternatively, store the settings in an xml file, and load them into RAM when the application starts

M
Maxim, 2013-11-23
@mgramin

There are more properties and even more cool thing preferences

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question