|
761 | 761 | \end{smaller} |
762 | 762 | %END LATEX |
763 | 763 |
|
764 | | -\item[Mac OS] |
| 764 | +\item[macOS] |
765 | 765 | If you employ \href{https://brew.sh}{homebrew} to install packages, run |
766 | 766 | the following commands: |
767 | 767 |
|
768 | 768 | \begin{Verbatim} |
769 | 769 | brew update |
770 | 770 | brew install git graphviz ant hevea maven librsvg unzip make |
771 | | -brew tap homebrew/cask-versions |
772 | 771 | brew install --cask temurin17 |
773 | 772 | brew install --cask mactex |
774 | 773 | \end{Verbatim} |
775 | 774 |
|
| 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 | +
|
776 | 778 | Make a \<latex> directory and copy \<hevea.sty> file into it. |
777 | 779 | (\url{https://hevea.inria.fr/} gives the current version number.) |
778 | 780 |
|
779 | 781 | \begin{Verbatim} |
780 | 782 | 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/ |
782 | 784 | \end{Verbatim} |
783 | 785 |
|
784 | 786 | Note: If copy permission is denied, try \<sudo>. |
785 | 787 |
|
786 | 788 | In a startup file, write: |
787 | 789 |
|
788 | 790 | \begin{Verbatim} |
789 | | -export JAVA_HOME=$(/usr/libexec/java_home -v 17) |
| 791 | +export JAVA_HOME=$(/usr/libexec/java_home -v XX) |
790 | 792 | \end{Verbatim} |
791 | 793 | or |
792 | 794 | \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/ |
794 | 796 | \end{Verbatim} |
795 | 797 |
|
| 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>. |
796 | 801 |
|
797 | 802 | \item[Windows] |
798 | 803 | To build on Windows 10 or later, |
|
0 commit comments