Package gw.lang.gosuc

Class GosucUtil


  • public class GosucUtil
    extends Object
    • Constructor Detail

      • GosucUtil

        public GosucUtil()
    • Method Detail

      • getDirectoryForPath

        public static IDirectory getDirectoryForPath​(String uriPath)
      • toURL

        public static URL toURL​(File file)
      • getJreJars

        public static List<String> getJreJars()
        Get all JARs from the lib directory of the System's java.home property
        Returns:
        List of absolute paths to all JRE libraries
      • getIbmClasspath

        protected static List<String> getIbmClasspath()
        Special handling for the unusual structure of the IBM JDK.
        Returns:
        A list containing the special 'vm.jar' absolute path if we are using an IBM JDK; otherwise an empty list is returned.
      • getGosuBootstrapJars

        public static List<String> getGosuBootstrapJars()
      • getGosuBootstrapJars_Java8

        public static List<String> getGosuBootstrapJars_Java8()
      • getGosuBootstrapJars_Java9

        public static List<String> getGosuBootstrapJars_Java9()
      • getClassLocation

        public static String getClassLocation​(String className)