mirror of
https://github.com/nasa/trick.git
synced 2025-02-21 01:31:25 +00:00
Trick installation on MacOS documentation update (#1071)
* 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 <spfennell@gmail.com>
This commit is contained in:
parent
9f5cc63a2a
commit
5f59948cb8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user