I had exactly the same problem, with the same jdk. It seems the problem doesn’t come from Gradle but from Open JDK itself.
I followed the answer given by k0pernikus on this thread :
and purged everything from java (openjdk but also java-common) to reinstall openjdk-8, and now it works without a problem.