Use this tag for questions specific to Java 8 which is version 8 (internal number 1.8) of the Java platform, released on 18 March 2014. In most cases, you should also specify the java tag.
Java 8 features the most changes ever to be introduced in a new Java version.
The most important change is the support for functional paradigm through lambda expressions and method references, under Project Lambda. This is the driving new feature of Java 8.
Other features include:
- A new Date & Time API
- A new Stream API integrated into the Collections API
- Project Nashorn, a JavaScript runtime which allows developers to embed JavaScript code within applications
- A standard API for performing Base64 encoding and decoding
- Stronger integration with JavaFX
- Annotations on Java types
Although it was initially advertised to be launched in September 2013, the release was pushed to March 2014 due to security issues. The GA release has been available for download from Oracle's download page since 18 March 2014.
More details on how Java 8 continues to evolve can be found on the official website and on the JDK8 mailing list.
Please keep in mind that the General Availability version of Java 8 doesn't run on Windows XP.
Reference Material
- What's New in JDK 8
- Java 8 Launch
- Project Lambda
- Official Site
- State of Lambda
- State of Lambda: Libraries Edition
- Translation of Lambda Expressions
- From Lambdas to Bytecode
- Lambda: A Peek Under the Hood
- Evolving Java
- Maurice Naftalin's Lambda FAQ
- Java Tutorials
- JSR 335: Lambda Expressions for Java Programming Language
- JLS: Lambda Expressions
- Historic References
- Date/Time API
- Nashorn
- Nashorn User's Guide
- Oracle Nashorn Blog
- JVMLS 2013: Fitting Nashorn on the JVM
- JVMLS 2013: Nashorn War Stories
- Nashorn Tutorial
- Running Node.js Applications on the JVM with Nashorn
- Project Avatar
- Others
- Curated List of Blog Posts on Java 8
- Books
- Java 8 in Action
- Java 8 Lambdas
- Functional Programming in Java: Harnessing the Power of Java 8 Lambda Expressions
##Frequently Asked Questions
New language features
Stream API
Optional
Others