Closed BorisKourt closed 10 years ago
Your Java version is old. java.nio.file.Files
is available in versions >= 1.7.0
. Here's my Java version for reference:
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
Should be an easy fix. :smile:
Thanks! Would have taken forever to figure that out.
This was a bit more convoluted on Mac, turns out that:
Oracle's installer puts java inside the /Library/Internet Plug-Ins/JavaAppletPlugin.plugin. And it doesn't overwrite /usr/bin/java.
Which is why I was stuck on 1.6 when I had installed the latest :/
Awesome! Glad I could help.
Copied your blog setup that was linked in another issue here, getting this error on both
once
andauto
compilation options.Unfortunately not experienced enough with java errors to know what the problem is.
Here is the full stack on pastebin: http://pastebin.com/Yu73HyTK