code: private static String getAppName( String jarLoc )
    {
      String appName = new File( jarLoc ).getName();
      int iDot = appName.lastIndexOf( '.' );
      if( iDot >= 0 )
      {
        appName = appName.substring( 0, iDot );
      }
      appName = maybeRemoveAppendage( appName );
      return appName;
    }
docs: name.