OneEyedPete
Wise, Aged Ars Veteran
This should return the location of the currently executing class ...
* Note I haven't tested this but I think it works
Code:
String resource = this.getClass().getName();
String resource = resource.replace('.', '/');
resource = resource + ".class";
java.net.URL url = this.getClass().getResource(resource);
url.getFile();
* Note I haven't tested this but I think it works