title: Java 8 cannot import java.util.function
body: <p>I am trying to import the package java.util.function 
  but I keep getting the following error:</p>
  
  <pre><code>FP.java:2: error: cannot find symbol
  import java.util.function;
                  ^
    symbol:   class function
    location: package java.util
  </code></pre>
  
  <p>I have verified that I am using jdk 1.8.0_11 (using javac -version).</p>