posted 21 years ago
Jim:
You might want to take a look at ClassLoader.getSystemResource().
Nice ! I didn't know that method. I wrote a getExecutionPathOf(Class aClass) method which could be simplified with ClassLoader.getSystemResource() IMO :
Anyway Davidd, passing any of your classes (the main one is a good candidate) to such a method will return the absolute path where your runme.jar is.
Best,
Phil.
[ September 30, 2003: Message edited by: Philippe Maquet ]