From 5f079433c3706d994e6d0210cfc87e483ad53e52 Mon Sep 17 00:00:00 2001 From: Asaf Mesika Date: Fri, 30 Sep 2022 03:54:19 +0300 Subject: [PATCH] [fix][doc] Fix M1 JVM Installation Instructions (#17669) --- README.md | 5 +++-- .../version-2.10.x/getting-started-standalone.md | 8 +------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 37e73f95ac194..f858e1065723e 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ components in the Pulsar ecosystem, including connectors, adapters, and other la ## Build Pulsar -Requirements: +### Requirements - JDK @@ -139,6 +139,7 @@ Requirements: > Note: this project includes a [Maven Wrapper](https://maven.apache.org/wrapper/) that can be used instead of a system installed Maven. > Use it by replacing `mvn` by `./mvnw` on Linux and `mvnw.cmd` on Windows in the commands below. +### Build Compile and install: ```bash @@ -151,7 +152,7 @@ Compile and install individual module $ mvn -pl module-name (e.g: pulsar-broker) install -DskipTests ``` -## Minimal build (This skips most of external connectors and tiered storage handlers) +### Minimal build (This skips most of external connectors and tiered storage handlers) ``` mvn install -Pcore-modules,-main -DskipTests diff --git a/site2/website/versioned_docs/version-2.10.x/getting-started-standalone.md b/site2/website/versioned_docs/version-2.10.x/getting-started-standalone.md index efb218a846dd8..2a5b27100ba18 100644 --- a/site2/website/versioned_docs/version-2.10.x/getting-started-standalone.md +++ b/site2/website/versioned_docs/version-2.10.x/getting-started-standalone.md @@ -37,13 +37,7 @@ One of the ways to easily install an x86 JDK is to use [SDKMan](http://sdkman.io 1. Install [SDKMan](http://sdkman.io). - * Method 1: follow instructions on the SDKMan website. - - * Method 2: if you have [Homebrew](https://brew.sh) installed, enter the following command. - -```shell -brew install sdkman -``` +Follow the instructions on the SDKMan website. 2. Turn on Rosetta2 compatibility for SDKMan by editing `~/.sdkman/etc/config` and changing the following property from `false` to `true`.