public File getJarDirectory() {
        if (jarDirectory == null) {
            this.jarDirectory = new File(jarPath).getAbsoluteFile().getParentFile();
        }
        return jarDirectory;
    }
public File getJarDirectory ( ) { if ( jarDirectory == null ) { this . jarDirectory = new File ( jarPath ) . getAbsoluteFile ( ) . getParentFile ( ) ; } return jarDirectory ; }
Gets the directory of the jar-file