# Thinking in Java 4e (Refreshed) Code Examples for Java 8 ### *Initial draft; not working yet* ## 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 32-bit version on Windows). 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 may initially get some error messages telling you to install additional packages, but eventually you should get through the whole build process successfully.