Skip to content

Commit

Permalink
[fix][doc] Fix M1 JVM Installation Instructions (#17669)
Browse files Browse the repository at this point in the history
  • Loading branch information
asafm authored Sep 30, 2022
1 parent f0b6348 commit 5f07943
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ components in the Pulsar ecosystem, including connectors, adapters, and other la

## Build Pulsar

Requirements:
### Requirements

- JDK

Expand All @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down

0 comments on commit 5f07943

Please sign in to comment.