Skip to main content Contents Index Prev Up Next
Scratch ActiveCode You! Profile \(\DeclareMathOperator{\homop}{Hom}
\newcommand{\Hom}[2]{\homop\left(#1,\,#2\right)}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section J.1 Java
The
jing
and
trang
schema tools (
Appendix E ) require the Java Development Kit (
JDK ). These instructions come from Mitch Keller and Jane Butterfield on 2019-07-23. You may need to change some version numbers over time.
List J.1.1. Install Java on MacOS
From
jdk.java.net/12/
get an open source
JDK . In other words, not the proprietary version from Oracle.
Unzip the file you download until you have a directory called jdk-12.0.1.jdk
. Put that directory somewhere useful. We will pretend that you put it in your home directory and that your user is called jane
, which means that the directory is now at /Users/jane/jdk-12.0.1.jdk
.
In a Terminal, run
export JAVA_HOME=/Users/jane/jdk-12.0.2.jdk/Contents/Home
adjusted appropriately. A good check is to get this same directory back from the command
echo $(/usr/libexec/java_home)
If you are doing this to install jing
and trang
, then, in the same Terminal window , cd
into the jing-trang
directory and run ./ant
.
You have attempted
of
activities on this page.