Compiling and Running the Examples: FAQs

How do I compile and run the examples? For instructions, refer to The "Hello World!" Application lesson in the Getting Started trail. This lesson includes links to download the latest JDK for Windows, Linux, and Solaris. There are also instructions and links for the NetBeans™ IDE, which runs on all the above platforms.

Why do I get an error message when I try to compile or run an example? Check out Common Problems (and Their Solutions).

I already have the JRE. Why do I need the JDK? The Java SE Runtime Environment, or JRE, allows you to run programs that have already been compiled and deployed. We hope you will use the Tutorials to expand your understanding of Java technology by modifying and extending the examples. To do this, you need the JDK.

I'm just not ready to upgrade to the latest JDK. Can I get the old Tutorials? You can get the old tutorials from the Oracle Java Archive page.

Why doesn't Oracle provide software for Mac OS X? Java platform software for Macintosh OS X is maintained by Apple Computer. Apple sometimes provides newer releases of the JDK as Beta software. For more information about the Java platform on Mac OS X, go to developer.apple.com/java.