Carl John wrote:I'm developing a Java Swing application and enabled them with Java web start feature.
Currently, i'm logging the events in a log file and saving them in jre folder.
Is this a correct way of logging an application?
No - depending on how and where the JRE is installed that folder may be write protected.
If not where can i save the log files?
For applications I create a hidden directory in the user's home directory. Typically I use the application's name prefixed by a '.' .
Note - you do realise that with the latest WebStart security model you will either have to purchase a CA signed certificate or get the user to install your self signed certificate in his cacerts file before he can run your WebStart application.