Spark supports Java 8 and above. Starting with Spark 3.0.0, translations are no longer distorted(with java 9 and above), we need to build on this version