public static void initJNI ( ) { if ( _isInitJNI . getAndSet ( true ) ) { return ; } // order matters because of static init and license checking FilesystemPath jniFilePath = JniFilePath . create ( ) ; if ( jniFilePath != null ) { DEFAULT_SCHEME_MAP . put ( "file" , jniFilePath ) ; SchemeMap localMap = _localSchemeMap . get ( ) ; if ( localMap != null ) localMap . put ( "file" , jniFilePath ) ; localMap = _localSchemeMap . get ( ClassLoader . getSystemClassLoader ( ) ) ; if ( localMap != null ) localMap . put ( "file" , jniFilePath ) ; VfsOld . PWD = jniFilePath ; VfsOld . setPwd ( jniFilePath ) ; } }
Initialize the JNI .