mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-22 19:49:32 +00:00
add JDK 11 instructions for mac
This commit is contained in:
parent
c06a85b929
commit
db00a5a1e5
1 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue