1.9 A Typical Java Development Environment
We now explain the steps to create and execute a Java application. Normally there are five phases—edit, compile, load, verify and execute. We discuss them in the context of the Java SE 8 Development Kit (JDK). See the Before You Begin section for information on downloading and installing the JDK on Windows, Linux and macOS.
Phase 1: Creating a Program
Phase 1 consists of editing a file with an editor program, normally known simply as an editor (Fig. 1.6). Using the editor, you type a Java program (typically referred to as source code), make any necessary corrections and save it on a secondary storage device, such as your hard drive. Java source code files are given a name ending with the .java
extension ...
Get Java How to Program, Early Objects, 11th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.