object
      
      
        JavaLibraryPath extends AnyRef
      
      
      
      
    
      
      
        
        
        
        
        
              Value Members
              - 
      
      
      
        final 
        def
      
      
        !=(arg0: AnyRef): Boolean
      
      
- 
      
      
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
- 
      
      
      
        final 
        def
      
      
        ##(): Int
      
      
- 
      
      
      
        final 
        def
      
      
        ==(arg0: AnyRef): Boolean
      
      
- 
      
      
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
- 
      
      
      
        
        def
      
      
        add(path: File): Unit
      
      
- 
      
      
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
- 
      
      
      
        
        def
      
      
        clone(): AnyRef
      
      
- 
      
      
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
- 
      
      
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
- 
      
      
      
        
        def
      
      
        finalize(): Unit
      
      
- 
      
      
      
        final 
        def
      
      
        getClass(): java.lang.Class[_]
      
      
- 
      
      
      
        
        def
      
      
        hashCode(): Int
      
      
- 
      
      
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
- 
      
      
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
- 
      
      
      
        final 
        def
      
      
        notify(): Unit
      
      
- 
      
      
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
- 
      
      
      
        
        def
      
      
        setLibraryPath(myClass: Class[_], dirName: String): Unit
      
      
- 
      
      
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
- 
      
      
      
        
        def
      
      
        toString(): String
      
      
- 
      
      
      
        final 
        def
      
      
        wait(): Unit
      
      
- 
      
      
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
- 
      
      
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
 
        
         
        
        
              
Inherited from AnyRef
            
              
Inherited from Any
            
         
       
      
      
     
      
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...