public boolean isLaunchedFromJar(){
  return (lstJarFile.size() > 0);
}

public boolean isLaunchedFromJar ( ) { return ( lstJarFile . size ( ) > 0 ) ; }
checks how the application was loaded : from jar or file system .
