Changed JDK version to avoid misunderstanding
Apparently JDK 8 works fine (weird behavior on build)