java-nio-file-not-working-even-with-jdk-1-7-in-eclipse

@bingoogolapple 2016-01-18 02:39:36发表于 bingoogolapple/bingoogolapple.github.io Android开发环境

Even after doing all the recommended things it wasn't working. Finally saw a setting in another thread that I hadn't tried till now.

Project -> Properties -> Java Build Path -> Libraries -> Add Library -> JRE System Library -> Select Workspace Default (jdk 1.7*)
Done.

So even when eclipse installation details configuration may show all the correct numbers, we still have to explicitly add 1.7 library from project properties.