sudo apt-get install virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer
Configure Enviroment (path/ JAVA_HOME)
sudo apt-get install oracle-java8-set-default
sudo apt-get install maven
Download here Scala IDE
And check here some more Infos
// extract
tar xzf flink-1.1.2-bin-hadoop27-scala_2.11.tgz
// go to folder
cd flink-1.1.2/
// start Flink and check if started via: localhost:8081
bin/start-local.sh
mvn archetype:generate
Select for example 843, in order to use JAVA