////Shown in 'Exception' Tab java.lang.Exception at com.sun.javaws.Launcher.continueLaunch(Unknown Source) at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
What may be i am doing wrong ....my jnlp file is as follows..
We have a swing application that is launched via JNLP and it uses certain properties files as resource bundles in the code for rendering the UI strings and error messages. These properties files are packaged inside the application's jar files and loaded from there.
Now the requirement is that we need to load these properties files from a folder in the file system of the machine where the application is installed and not from the jar file. The reason for needing this is so that the user can edit the properties files if needed and also add a new language file whenever needed, without requiring to rebuild the jar file.
When we tried to load the properties file from a specific path, it is looking for the path on the individual client machines from where the JNLP application is being launched but not from the server machine where we have deployed the application. How can we load resource bundles from the server's file system in JNLP applications?