I am having the same problem as guppey did, trying to run this with OSX. Came up with a bogus permissions error. I just wanna find some dang lapis! Any advice? I've no experience with programming so I'd appreciate some simplicity. Thanks!
EDIT: I have Java, so that's not the problem. Maybe its the coding in the command file? Old Xray works fine using that command file.