Using JAR files and file extraction
From: Iain Robinson (ipor20_at_o2.co.uk)
Date: 02/27/05
- Next message: Peter Höltschi: "Access"
- Previous message: Patricia Shanahan: "Re: Seen java -server optimization vary 50%?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 27 Feb 2005 18:51:38 GMT
Hi all,
I'm currently thinking of the best way to distribute a java app to users
and have been considering packaging the whole thing in a jar file
(simply so that it can be run in XP using the "open with" command). I
know how to set up a jar file to do this...and i know that the contents
of a jar file can be totally or partially extracted...but my question is
this...can an app run from "inside" a jar (in the above manner) still
access directories that have been previously extracted?
The reason for this is that i require a number of directories to be
consistently available for the app...but also available for the user to
save certain application-generated files to. I'm finding that if the app
is run within a jar file it cant locate the required directories and
defaults to the users home directory.
Regards
P@
- Next message: Peter Höltschi: "Access"
- Previous message: Patricia Shanahan: "Re: Seen java -server optimization vary 50%?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|