install javaapt install openjdk-11-jdkjava -versioninstall sparkdownloadgo to https://spark.apache.org/downloads.html site and open download page gett