Showing posts with label Java 8. Show all posts
Showing posts with label Java 8. Show all posts

Tuesday, 18 October 2016

Java 8 Language Features on Android


With the help of the Jack toolchain, you�ll be able to cut out boilerplate code with the help of some Java 8 language features. Lambda expressions provide a compact way to express functional interfaces (interfaces with a single method) and method references allow you to use existing methods as lambda expressions - both features available back to API 9 (Gingerbread) devices!

Added in API 24 is the Stream API, default method implementations and static methods for interfaces, and repeatable annotations - you�ll have to be on an API 24 devices to take advantage of those features!

Check out the documentation for all the details: https://goo.gl/h3KUPP


Thursday, 23 June 2016

Install Oracle Java8 on Linux Mint 17.3 Rosa

This video show how to Install Oracle Java8 on Linux Mint 17.3 Rosa (run on VirtualBox/Windows 10).


Enter the command in Terminal:
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer