<commit_before>---
layout: page
title: "How to Build Zeppelin from source"
description: "How to build Zeppelin from source"
group: setup/basics
---
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
{% include JB/setup %}

## How to Build Zeppelin from Source

<div id="toc"></div>

#### 0. Requirements

If you want to build from source, you must first install the following dependencies:

<table class="table-configuration">
  <tr>
    <th>Name</th>
    <th>Value</th>
  </tr>
  <tr>
    <td>Git</td>
    <td>(Any Version)</td>
  </tr>
  <tr>
    <td>Maven</td>
    <td>3.1.x or higher</td>
  </tr>
  <tr>
    <td>JDK</td>
    <td>1.7</td>
  </tr>
</table>


If you haven't installed Git and Maven yet, check the [Build requirements](#build-requirements) section and follow the step by step instructions from there.

#### 1. Clone the Apache Zeppelin repository

```bash
git clone https://github.com/apache/zeppelin.git
```

#### 2. Build source


You can build Zeppelin with following maven command:

```bash
mvn clean package -DskipTests [Options]
```

If you're unsure about the options, use the same commands that creates official binary package.

```bash
# update all pom.xml to use scala 2.11
./dev/change_scala_version.sh 2.11
# build zeppelin with all interpreters and include latest version of Apache spark support for local mode.
mvn clean package -DskipTests -Pspark-2.3 -Phadoop-2.6 -Pscala-2.11
```

#### 3. Done<commit_msg>[ZEPPELIN-5002] Update JDK version in documentation<commit_after>---
layout: page
title: "How to Build Zeppelin from source"
description: "How to build Zeppelin from source"
group: setup/basics
---
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
{% include JB/setup %}

## How to Build Zeppelin from Source

<div id="toc"></div>

#### 0. Requirements

If you want to build from source, you must first install the following dependencies:

<table class="table-configuration">
  <tr>
    <th>Name</th>
    <th>Value</th>
  </tr>
  <tr>
    <td>Git</td>
    <td>(Any Version)</td>
  </tr>
  <tr>
    <td>Maven</td>
    <td>3.1.x or higher</td>
  </tr>
  <tr>
    <td>OpenJDK or Oracle JDK</td>
    <td>1.8 (151+)<br>(set JAVA_HOME)</td>
  </tr>
</table>


If you haven't installed Git and Maven yet, check the [Build requirements](#build-requirements) section and follow the step by step instructions from there.

#### 1. Clone the Apache Zeppelin repository

```bash
git clone https://github.com/apache/zeppelin.git
```

#### 2. Build source


You can build Zeppelin with following maven command:

```bash
mvn clean package -DskipTests [Options]
```

If you're unsure about the options, use the same commands that creates official binary package.

```bash
# update all pom.xml to use scala 2.11
./dev/change_scala_version.sh 2.11
# build zeppelin with all interpreters and include latest version of Apache spark support for local mode.
mvn clean package -DskipTests -Pspark-2.3 -Phadoop-2.6 -Pscala-2.11
```

#### 3. Done
{'fraction_non_alphanumeric': 0.11542390194075587, 'fraction_numerical': 0.014555669050051073, 'mean_word_length': 3.847772277227723, 'pattern_counts': {'":': 0, '<': 62, '<?xml version=': 0, '>': 62, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5810642', 'n_tokens_mistral': 1289, 'n_tokens_neox': 1197, 'n_words': 497}