Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[Minor] Fix prerequisites and fix minor markdown issues (#774)

Justin Mclean5e370455b289
diff --git a/docs/how-to-build.md b/docs/how-to-build.md
index 2a67078b0d..2a3d453f37 100644
--- a/docs/how-to-build.md
+++ b/docs/how-to-build.md
@@ -8,9 +8,11 @@ This software is licensed under the Apache License version 2."
## Prerequisites
-+ JDK 1.8
++ JDK 1.8 and JDK 1.17
+ Git
+Note: Gravitino uses Java 1.8 and Trino uses Java 1.17.
+
## Quick Start
1. Clone the Gravitino project.
@@ -74,23 +76,25 @@ This software is licensed under the Apache License version 2."
6. Assemble the Gravitino distribution package.
```shell
- ./gradlew assembleDistribution
- ```
-
+ ./gradlew assembleDistribution
+ ```
+
The `assembleDistribution` command will create `gravitino-{version}-bin.tar.gz` and `gravitino-{version}-bin.tar.gz.sha256` under the `distribution` directory.
-
+
You can deploy them to your production environment.
-
+
> Note: The `gravitino-{version}-bin.tar.gz` file is the Gravitino Server distribution package, and the `gravitino-{version}-bin.tar.gz.sha256` file is the sha256 checksum file for the Gravitino Server distribution package.
7. Assemble Gravitino trino connector package
-
+
```shell
./gradlew assembleTrinoConnector
```
- or
+
+ or
+
```shell
./gradlew assembleDistribution
```
-
- It will create `gravitino-trino-connector-{version}.tar.gz` and `gravitino-trino-connector-{version}.tar.gz.sha256` under the `distribution` directory.
\ No newline at end of file
+
+ It will create `gravitino-trino-connector-{version}.tar.gz` and `gravitino-trino-connector-{version}.tar.gz.sha256` under the `distribution` directory.