code: static private String getRequiredBundles(File file) throws IOException {
          JarFile jar = new JarFile(file);
          Attributes attr = jar.getManifest().getMainAttributes();
          jar.close();
          return attr.getValue("Require-Bundle");
      }
docs: find the Require-Bundle name from the specified jar file.