add JDK 11 instructions for mac

This commit is contained in:
woodser 2024-01-06 08:05:47 -05:00
parent c06a85b929
commit db00a5a1e5

View file

@ -2,13 +2,17 @@
These are the steps needed to build Haveno and test it on our test network or locally. These are the steps needed to build Haveno and test it on our test network or locally.
## Install dependencies ## Install dependencies (requires Java JDK 11)
On Ubuntu: On Ubuntu:
1. `sudo apt install make wget git openjdk-11-jdk`. 1. `sudo apt install make wget git openjdk-11-jdk`.
2. If `echo $JAVA_HOME` does not print the path to JDK 11, then `export JAVA_HOME=/path/to/jdk` (e.g. `export JAVA_HOME=/usr/lib/jvm/java-11-openjdk`). 2. If `echo $JAVA_HOME` does not print the path to JDK 11, then `export JAVA_HOME=/path/to/jdk` (e.g. `export JAVA_HOME=/usr/lib/jvm/java-11-openjdk`).
On Mac:
1. Download and install [Java JDK 11](https://adoptium.net/temurin/archive/?version=11).
2. `export JAVA_HOME=/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home`
On Windows: On Windows:
1. Download [Java JDK 11](https://adoptium.net/temurin/archive/?version=11). During installation, enable the option to set the $JAVA_HOME environment variable. 1. Download [Java JDK 11](https://adoptium.net/temurin/archive/?version=11). During installation, enable the option to set the $JAVA_HOME environment variable.