G
Gergely Buday
Hi Folks,
I know this is a recurring theme on java groups, but I do ask it
again:
I'd like to get the directory where my .jar file resides. I do know
that it is not always possible, but my users will use the "W"
operating system, and don't download my code from the net, so I expect
my jar file to be in a simple directory.
I have a directory structure
..
demo.bat
demo.jar
img/ -- images
dll/ -- dlls
data/ -- database
so I didn't put everything in the jar file, and I would not like to do
so.
How can I get the full path for "." ?
- Gergely
I know this is a recurring theme on java groups, but I do ask it
again:
I'd like to get the directory where my .jar file resides. I do know
that it is not always possible, but my users will use the "W"
operating system, and don't download my code from the net, so I expect
my jar file to be in a simple directory.
I have a directory structure
..
demo.bat
demo.jar
img/ -- images
dll/ -- dlls
data/ -- database
so I didn't put everything in the jar file, and I would not like to do
so.
How can I get the full path for "." ?
- Gergely