public class PathHacker
extends java.lang.Object
| Constructor and Description |
|---|
PathHacker() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addJar(java.io.File f) |
static void |
addJar(java.lang.String s) |
static void |
addJar(java.net.URL u)
Adds the given URL to the classpath for direct use
|
static void |
addLibPath(java.lang.String path)
ensures the given path is in java.library.path
|
static void |
addLibraryPathFromDirectory(java.io.File dir) |
public static void addLibPath(java.lang.String path)
throws java.lang.Exception
path - java.lang.Exceptionpublic static void addLibraryPathFromDirectory(java.io.File dir)
public static void addJar(java.lang.String s)
public static void addJar(java.io.File f)
public static void addJar(java.net.URL u)
URL - of the Java Archive