Class SharedLoader

    • Constructor Detail

      • SharedLoader

        public SharedLoader​(BinaryExtractor extractor)
        Creates a shared loader and extracts the required binary to the temp folder
        Parameters:
        extractor - used for extracting the required binary
    • Method Detail

      • getLibraryPath

        public Path getLibraryPath()
        gets value of field libraryPath
        Returns:
        value of field libraryPath
        See Also:
        libraryPath
      • cleanup

        public void cleanup()
        Removes the library path from the ClassLoader.usr_paths array, as well as to the java.library.path system property. Uses the reflection API to make the field accessible, and may be unsafe in environments with a security policy.