From 5f59948cb89b3a311429797683578f18e733cd57 Mon Sep 17 00:00:00 2001 From: Zain Merchant Date: Thu, 5 Nov 2020 15:32:17 -0500 Subject: [PATCH] Trick installation on MacOS documentation update (#1071) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Trick installation on MacOS Step 5 in the installation guide “Install cask to get java and xquartz” results in the following error: “Error: Cask 'java' is unavailable: No Cask with this name exists. Did you mean one of these?”, then giving some other possible downloads. It seems that Java cannot be installed using home-brew in this way. The way around this I used was to install Java from Oracle’s website (https://www.java.com/en/download/) and the JDK from here (https://www.oracle.com/java/technologies/javase-jdk15-downloads.html), then install the other packages on their own. This has been tested to be working on macOS Catalina. * macOS install documentation to install java with brew by default I changed the URL for the JDK as well to go to their SE page, so that when java 16+ is released they can still find the latest JDK. Co-authored-by: Scott Fennell --- docs/documentation/install_guide/Install-Guide.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/docs/documentation/install_guide/Install-Guide.md b/docs/documentation/install_guide/Install-Guide.md index 3e502968..b9f52691 100644 --- a/docs/documentation/install_guide/Install-Guide.md +++ b/docs/documentation/install_guide/Install-Guide.md @@ -195,19 +195,16 @@ or curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install | ruby ``` -5. Install cask to get java and xquartz. +5. Install the remaining dependencies. ```bash -# brew install caskroom may not be required anymore -# brew install caskroom/cask/brew-cask -brew cask install java xquartz +brew install java xquartz llvm swig maven udunits openmotif ``` +If you have issues installing java with homebrew, you can install java and the jdk from oracle's website: -6. Finally, install the remaining dependencies. +[Java](https://www.java.com/en/download/) -```bash -brew install llvm swig maven udunits openmotif -``` +[JDK](https://www.oracle.com/java/technologies/javase-downloads.html) (click JDK Download) Openmotif may install dependent packages that conflict with other installations, fontconfig and freetype. Use the following command to skip installing these packages if you encounter conflicts. ```bash