private static JavaHomeFinderBasic getFinder(boolean forceEmbeddedJava) {
    if (!isDetectorEnabled(forceEmbeddedJava)) return null;

    return getFinder().checkEmbeddedJava(forceEmbeddedJava);
  }
private static JavaHomeFinderBasic getFinder(boolean forceEmbeddedJava)