Installing on mac: getting NativeIntegrationException on "gradle -version"

Trying to install gradle on my Mac: ran gradle -version, it said there was an unexpected internal error, said to post to the forum, and gave me this exception. org.gradle.internal.nativeplatform.NativeIntegrationException: Could not create JNA native library ‘/gradle/native/jna/darwin/libjnidispatch.jnilib’.

Any thoughts?

thanks,

~ Alvin

Can you post the full stack trace (including causes) as a GitHub Gist?

New update: after rebooting my mac, the problem seems to have gone away.