Hem / Tips & tricks
ProtectionDomain pd = this.getClass().getProtectionDomain();URL prgDir = pd.getCodeSource().getLocation()