I’ve been running gradle 2.10 happily for a couple of months, working on a Oracle Linux 6u5 VM administered by IT. Last night everything was working fine and I was doing “gradle build” etc. as myself (my user is not root). This morning, I can’t even run “gradle --version” as it comes up with the error below. However I am able to run as root user by doing “sudo gradle --version”.
I am assuming some administrative change has been made that affects my user, but I would like some pointers as I have no idea what to look for.
$ gradle --version
- Exception is:
net.rubygrapefruit.platform.NativeException: Failed to load native library ‘libnative-platform.so’ for Linux amd64.
Caused by: java.io.IOException: No locks available
at sun.nio.ch.FileDispatcherImpl.lock0(Native Method)