If you have the 6th edition, please visit Java ForDummies, 6th Edition.
For earlier editions, visit my main page.
Download the book's code for use with Eclipse or with NetBeans
Download the book's code for use with IntelliJ IDEA
See the solutions to the book's Try It Out exercises!
Note: If you're reading this book before July 27, 2017, you might not have Java 9, which includes JShell.
If you want to run JShell, install the Java 9 early release version on your computer. You can get the
early release version by visiting http://www.oracle.com/technetwork/java/javase/downloads/
and looking for the Early Access Releases download button.
Eclipse with Java 9 on a Mac
As of August 2017, some Mac users are having trouble running Eclipse if Java 9 is installed on their computers. Here's how to fix the problem:
If you follow these steps, Eclipse will launch with Java 8 instead of trying to launch with Java 9. If you want to try the Java 9 JShell, visit your moved JDK-9 folder and drill down to the Contents/Home/bin directory. In that directory, you'll find the jshell program.
- Open a Finder window.
- In the menu bar, select Go->Go to Folder.
- In the resulting dialog box, type /Library/Java/JavaVirtualMachines, and then click Go.
- In the Finder window, look for a folder named jdk-9.jdk (or something like that, with "9" in it).
- Drag that folder to another place on your computer's hard drive -- to the Documents folder, for example.
- Revisit java.oracle.com/javase and download/install the JDK for Java 8.
Talk to me: