Is there a way to find out the directory that a class file is being ran in. The goal her is that someone could put my class file anywhere on their machine, and I could find the path of where that is. I've checked the java.io.File methods, and it doesn't seem to have what I'm looking for. Thanks.