Ah, sorry. I tried extracting with 7z and found that the dataerror I was getting was the same as with 7-zip-JBinding. I was previously getting unsupportedmethod when I tried to open the password protected archive without a password. Getting a dataerror must be because using of using a wrong password with an encrypted file while the file headers aren't encrypted.
Support for LZMA2