21 lines
1.2 KiB
Markdown
21 lines
1.2 KiB
Markdown
# Thinking in Java Director's Cut Code Examples
|
|
|
|
## Get the Examples ##
|
|
|
|
[Click here](https://github.com/BruceEckel/TIJ4-Refreshed-Examples/archive/master.zip) to download the zip file. Unzip the file into a directory of your choice.
|
|
|
|
## Build the Examples ##
|
|
1. Install the latest version of Java 8 (JDK8). (Use the 32-bit version on Windows because of some library issues).
|
|
|
|
1. Install Apache Ant. Follow the instructions [here](https://ant.apache.org/manual/install.html#getting).
|
|
|
|
1. Add the path to the directory where you unpacked the examples to your CLASSPATH.
|
|
|
|
1. Start a command prompt in the directory where you installed the examples. If your installation is successful, you should be able to type **ant build** and build everything. **ant run** will build AND run the examples. You will initially get some error messages instructing you to install specified packages, but eventually you should get through the whole build process successfully.
|
|
|
|
|
|
Report bugs in the examples or in the book [here](https://github.com/BruceEckel/TIJ4-Refreshed-Examples/issues).
|
|
|
|
----------
|
|
**Copyright ©2015 Bruce Eckel, MindView LLC. All Rights Reserved. See *Copyright.txt* for usage details.**
|