> For the complete documentation index, see [llms.txt](https://docs.zingg.ai/0.3.4/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zingg.ai/0.3.4/stepbystep/installation/compiling-from-source.md).

# Compiling From Source

For a different Spark version or compiling latest code

If you need to compile the latest code or build for a different Spark version, you can clone this repo and

* Install maven
* Install JDK 1.8
* Set JAVA\_HOME to JDK base directory
* Run the following: `mvn clean compile package -Dspark=sparkVer`&#x20;

&#x20;     where sparkVer is one of 2.4, 3.0 or 3.1
