Skip to content

Commit 3b03b37

Browse files
authored
Updating macOS installation instructions (#6827)
1 parent 3e837a5 commit 3b03b37

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

docs/manual/troubleshooting.tex

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -761,38 +761,43 @@
761761
\end{smaller}
762762
%END LATEX
763763
764-
\item[Mac OS]
764+
\item[macOS]
765765
If you employ \href{https://brew.sh}{homebrew} to install packages, run
766766
the following commands:
767767
768768
\begin{Verbatim}
769769
brew update
770770
brew install git graphviz ant hevea maven librsvg unzip make
771-
brew tap homebrew/cask-versions
772771
brew install --cask temurin17
773772
brew install --cask mactex
774773
\end{Verbatim}
775774
775+
Note: Running \<brew install --cask temurin17> is only necessary if you do not
776+
already have a JDK that is compatible with the Checker Framework installed.
777+
776778
Make a \<latex> directory and copy \<hevea.sty> file into it.
777779
(\url{https://hevea.inria.fr/} gives the current version number.)
778780
779781
\begin{Verbatim}
780782
mkdir -p $HOME/Library/texmf/tex/latex
781-
cp -p /usr/local/Cellar/hevea/2.36/lib/hevea/hevea.sty $HOME/Library/texmf/tex/latex/
783+
cp -p /opt/homebrew/Cellar/hevea/2.36/lib/hevea/hevea.sty $HOME/Library/texmf/tex/latex/
782784
\end{Verbatim}
783785
784786
Note: If copy permission is denied, try \<sudo>.
785787
786788
In a startup file, write:
787789
788790
\begin{Verbatim}
789-
export JAVA_HOME=$(/usr/libexec/java_home -v 17)
791+
export JAVA_HOME=$(/usr/libexec/java_home -v XX)
790792
\end{Verbatim}
791793
or
792794
\begin{Verbatim}
793-
export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-17.jdk/Contents/Home/
795+
export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-XX.jdk/Contents/Home/
794796
\end{Verbatim}
795797
798+
where \emph{XX} is a JDK version such as 17, 21, 23, etc. that appears in one
799+
of the names for the files in \<checker/bin-devel>, e.g.,
800+
\<Dockerfile-ubuntu-jdk\emph{XX}-plus>.
796801
797802
\item[Windows]
798803
To build on Windows 10 or later,

0 commit comments

Comments
 (0)