Directories

I searched all over and I found how to get the current directory..I need to find out the directory where the .jar file is. Any ideas ?
[148 byte] By [DSPietrya] at [2007-11-27 7:47:34]
# 1
Use ClassLoader.getResource() to grab any resource you know to be located in the JAR (and *only* there). Then parse the URL it returns for the JAR file part and its location.
CeciNEstPasUnProgrammeura at 2007-7-12 19:28:39 > top of Java-index,Java Essentials,New To Java...
# 2
what resources are there? I cant find any list of them...
DSPietrya at 2007-7-12 19:28:39 > top of Java-index,Java Essentials,New To Java...