- // if (scanner == null)
- // {
- // scanner = new ClassGraph();
- // ScanResult scan = scanner.scan();
- // classpath = scan.getClasspath();
- modules = "";
- // for (ModuleRef mr : scan.getModules())
- // {
- // modules.concat(mr.getName());
- // }
- java_exe = System.getProperty("java.home") + File.separator + "bin"
- + File.separator + "java";
-
- // }
-
- // while (classpath == null)
- // {
- // try
- // {
- // Thread.sleep(10);
- // } catch (InterruptedException x)
- // {
- //
- // }
- // }
+ if (scanner == null)
+ {
+ scanner = new ClassGraph();
+ ScanResult scan = scanner.scan();
+ classpath = scan.getClasspath();
+ modules = "";
+ for (ModuleRef mr : scan.getModules())
+ {
+ modules.concat(mr.getName());
+ }
+ java_exe = System.getProperty("java.home") + File.separator + "bin"
+ + File.separator + "java";
+
+ }
+
+ while (classpath == null)
+ {
+ try
+ {
+ Thread.sleep(10);
+ } catch (InterruptedException x)
+ {
+
+ }
+ }