From db00a5a1e56b9efeeaf7707f7327b455d99dc9b0 Mon Sep 17 00:00:00 2001 From: woodser Date: Sat, 6 Jan 2024 08:05:47 -0500 Subject: [PATCH] add JDK 11 instructions for mac --- docs/installing.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/installing.md b/docs/installing.md index 4fbc059e..e1753532 100644 --- a/docs/installing.md +++ b/docs/installing.md @@ -2,13 +2,17 @@ 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: 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`). +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: 1. Download [Java JDK 11](https://adoptium.net/temurin/archive/?version=11). During installation, enable the option to set the $JAVA_HOME environment variable.