Well, for those still having the issue after checking /var/lock permissions (as myself), please have a look at this post related to the Zigbee binding - #1549 by puzzle-star
nrjavaserial seems to need some native libraries (i.e. liblockdev). In my raspbian distro, I could not find a binary package and I had to manually compile and install it (instructions in the post above).