OnJava8-Examples/README.md

19 lines
1.1 KiB
Markdown
Raw Normal View History

2015-06-14 22:15:54 -07:00
# *On Java* Code Examples
2015-04-20 15:56:08 -07:00
## Get the Examples ##
2015-08-18 11:52:53 -06:00
[Click here](https://github.com/BruceEckel/OnJava-Examples/archive/master.zip) to download the zip file. Unzip the file into a directory of your choice.
2015-04-20 15:56:08 -07:00
## Build the Examples ##
2015-06-15 18:15:03 -07:00
1. Install the [latest version of Java 8 (JDK8)](http://www.oracle.com/technetwork/java/javase/downloads/index.html). (Use the 32-bit version on Windows because of some library issues).
2015-04-20 15:56:08 -07:00
2015-04-20 16:12:35 -07:00
1. Install Apache Ant. Follow the instructions [here](https://ant.apache.org/manual/install.html#getting).
2015-04-20 15:56:08 -07:00
2015-05-29 18:20:59 -07:00
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 (jar files), but eventually you should get through the whole build process successfully.
2015-04-23 15:43:15 -07:00
2015-08-18 11:52:53 -06:00
Report bugs in the examples or in the book [here](https://github.com/BruceEckel/OnJava-Examples/issues).
2015-04-25 18:27:58 -07:00
----------
2015-06-14 22:15:54 -07:00
**©2015 Bruce Eckel, MindView LLC. All Rights Reserved. See *Copyright.txt* for usage details.**