回调文件系统:eldos.cbfs.ECBFSError:访问被拒绝

时间:2011-10-11 14:24:15

标签: java windows callback filesystems fuse

我已经请求了Callback File System的试用许可证,并尝试使用java编写简单的应用程序!所以,我写了下几行并运行它并收到异常eldos.cbfs.ECBFSError: Access is denied

代码

    import eldos.cbfs.CallbackFileSystem;
    import eldos.cbfs.ECBFSError;
    import eldos.cbfs.boolRef;

    import java.util.logging.Level;
    import java.util.logging.Logger;

    /**
     * @author Sergii.Zagriichuk
     */
    public class Test1 {
        private static Logger logger = Logger.getLogger(Test1.class.getName());

        public static void main(String[] args) {

            CallbackFileSystem callbackFileSystem = new CallbackFileSystem();
            callbackFileSystem.setRegistrationKey("My registration key ");
            try {
callbackFileSystem.install("<path to cab>\\cbfs.cab", "Test", true, 131072, new boolRef(false));
            } catch (ECBFSError ecbfsError) {
                logger.log(Level.SEVERE, ecbfsError.getMessage(), ecbfsError);
            }
        }
    }

我该怎么做才能解决这个问题? 感谢

0 个答案:

没有答案