Class PathHacker

java.lang.Object
org.processmining.framework.util.PathHacker

public class PathHacker extends Object
Dynamically adds jars or dll files at runtime to the environment for direct use
Author:
T. van der Wiel
  • Constructor Details

    • PathHacker

      public PathHacker()
  • Method Details

    • addLibPath

      public static void addLibPath(String path) throws Exception
      ensures the given path is in java.library.path
      Parameters:
      path -
      Throws:
      Exception
    • addLibraryPathFromDirectory

      public static void addLibraryPathFromDirectory(File dir)
    • addJar

      public static void addJar(String s)
    • addJar

      public static void addJar(File f)
    • addJar

      public static void addJar(URL u)
      Adds the given URL to the classpath for direct use
      Parameters:
      URL - of the Java Archive