Hello Java 8


Java 8 has been released!

The Oracle build is available online while the OpenJDK variant will be available very soon. I have just downloaded the Oracle JDK on my Fedora Linux laptop and, lo and behold, here is my first encounter with it:

avinash@laptop02 ~ $ java -version
java version “1.8.0”
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)

avinash@laptop02 ~ $ vi HelloWorld.java

avinash@laptop02 ~ $ javac HelloWorld.java

avinash@laptop02 ~ $ file HelloWorld.*
HelloWorld.class: compiled Java class data, version 52.0
HelloWorld.java: C source, ASCII text

avinash@laptop02 ~ $ java HelloWorld
Hello World

Coming soon: my opinion on the Stream API and, being a lover of functional programming, my take on lambdas.

Speak Your Mind