24 lines
1.3 KiB
Markdown
24 lines
1.3 KiB
Markdown
# 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 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. You may use the examples for teaching, as long as they are not republished without permission.** |