Does Java Web Start give a default program folder?

directory, java, java-web-start

Solution

I would use a subdirectory in the users home directory. E.g. System.getProperty("user.home") + File.separator + ".myapp/"

But for that the user has to add extra permissions for the a web start application.

To persist you can use a properties file or XmlEncoder which are included in the JDK. Or use external libraries like XStream, Xvantage or the simple framework where it is simple as

xstream.save(anyObject)

Problem

For Java Web Start is there a default place to store and access data related to my program? Or do I need to create a folder? For Java Web Start (assuming I don't get a program folder) is it standard to just create on in Program Files for window, Applications for mac, etc?

Original source