JavaLibraryPath

org.nlogo.api.JavaLibraryPath

This code came from http://forum.java.sun.com/thread.jspa?threadID=627890&start=15

The Terms of Use for the website, in the "Content Submitted to Sun" section states: You (the author) grant Sun and all other users of the Website an irrevocable, worldwide, royalty-free, nonexclusive license to use, reproduce, modify, distribute, transmit, display, perform, adapt, resell and publish such Content (including in digital form).

http://www.sun.com/termsofuse.jsp

The username of the original post has no name or email associated with it.

Adds a path to the java.library.path System property and updates the ClassLoader. Uses reflection to allow update to private system members. Will not work if JVM security policy gets in the way (like in an applet). Will not work if Sun changes the private members. This really shouldn't be used at all...

Attributes

Source
JavaLibraryPath.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def add(path: File): Unit

Attributes

Source
JavaLibraryPath.scala
def setLibraryPath(myClass: Class[_], dirName: String): Unit

Attributes

Source
JavaLibraryPath.scala