Section K.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.
-
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 calledjane, 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 commandecho $(/usr/libexec/java_home)
-
If you are doing this to install
jingandtrang, then, in the same Terminal window,cdinto thejing-trangdirectory and run./ant.
You have attempted of activities on this page.
