No Supporting file in the Desktop
Hi Everyone,
I am using JNLP to start a swing application. My application has some supporting resource files [mdb (MS Access Database), few XMLs and properties]. While launching, the shortcut and these supporting files falls in my desktop. I want these supporting files to be downloaded in some other location.
How can I achieve this? Any Suggestions?
[371 byte] By [
iLoveJavaa] at [2007-11-27 11:10:25]

# 1
...
> I am using JNLP to start a swing application. My
> application has some supporting resource files [mdb
> (MS Access Database), few XMLs and properties]. While
> launching, the shortcut and these supporting files
> falls in my desktop.
That is extraordinary! Not the shortcut, but
the DB and XML's and properties should not
end up on the desktop. I cannot understand
how that would happen.
>..I want these supporting files
> to be downloaded in some other location.
Usually resources that are on the application's
classpath are stored in the plug-in cache,
which never defaults to the desktop. You can find
the current path by checking the Java Control
Panel.
> How can I achieve this? Any Suggestions?
See my second (and first) replies to this thread
for the solution to this challenge.
http://forum.java.sun.com/thread.jspa?threadID=5196167