I tried to use new parallel feature JDK8, but unfortunately, I couldn't get it to work.
NetBeans 7.1 says that method "parallel" does not exist.

Does this method require special import? 
Does anyone have sample code demonstrating Java 8 parallelism?