global: moving towards jdk8 support

Signed-off-by: Ketoth Xupack <ketoth.xupack@gmail.com>