code: public static Application getApplicationFromJarFile(final File _jarFile,
                                                          final List<String> _classpath)
          throws InstallationException
      {
          try {
              final URL url = new URL("jar", null, 0, _jarFile.toURI().toURL().toString() + "!/");
              final URL url2 = new URL(url, "/META-INF/efaps/install.xml");
              return Application.getApplication(url2, new URL(url2, "../../../"), _classpath);
          } catch (final IOException e) {
              throw new InstallationException("URL could not be parsed", e);
          }
      }
docs: Returns the application read from given JAR file <code>_jarFile</code>.
  
  @param _jarFile JAR file with the application to install
  @param _classpath class path (required to compile)
  @return application instance
  @throws InstallationException if application could not be fetched from
  the JAR file or the version XML file could not be parsed