StringJoiner class not found

StringJoiner is a new class in Java 8 , that lets us join strings without having to go for third party utils like StringUtils

My compiler is set to javac8 when I submit my solution, but I get compilation error saying StringJoiner class not found.

Locally I used jdk 8 (update 25) - can can compile and run successfully.

Whats wrong?!