Class ClasspathInspector

java.lang.Object
clazzfish.core.ClasspathInspector

public class ClasspathInspector extends Object
The class ClasspathInspector inspects the classpath and provides some infos about it.
Since:
3.0 (24.09.25)
Author:
oboehm
  • Constructor Details

    • ClasspathInspector

      public ClasspathInspector()
  • Method Details

    • getBootClasspath

      public static String[] getBootClasspath()
      To get the boot classpath the sytem property "sun.boot.class.path" is used to get them. This will work of course only for the SunVM.
      Returns:
      the boot classpath as String array
    • getClasspath

      public static String[] getClasspath()
      To get the classpath the sytem property "java.class.path" is used to get them.
      Returns:
      the classpath as String array