JDK and Jgrasp Installation Instructions - Updated 11-3
JDK and Jgrasp Installation Instructions - Updated 11-3
Objectives
Install a Java Development Kit (JDK) and an Integrated Development Environment (IDE) on a personal computer. Create a Java program.
Description
In this exercise you will download a JDK and an IDE to your personal computer. You will use these tools to create Lab 1. The project is divided into three sections: 1. Downloading the JDK 2. Downloading the IDE (jGrasp) 3. Creating your first program
Academic Requirements
To successfully complete this project you should read the following chapters in your book: 1. Introduction to Computers and Java 2. Java Fundamentals
JDK Installation
1. Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html 2. Download the JDK:
Complete the installation process as directed on the screen. Follow the instructions for downloading the jGrasp. Complete the lab as instructed.
2. Click Folder.
4. Open jGrasp.
7. Click New.
8. Click Java.
10.Type the following text. Use the correct punctuation and capitalization. You can see the code in your book: Programming Challenge 1.
11.Click File on the Menu bar. Click Save As on the File menu. Save the program using the name MyFirstProgram_Firstname_Lastname.java.
12.Under Look in, on the Save As window, use the arrow to change to the Desktop where you created the Java Program Files folder.
You will see the following messge in the Compile Message window if the compile was successful.
3. Click the Toggle Numbers icon to add numbers to each line (you can also click this icon before writing code for any program).
Please note: The error message identifies Line 4 as the location for the error. Certain errors may not be identified on the exact line where the error is located. You should look in the area above or below the line to locate the error.
5. Make the correction to the program code. Compile the program. Run the program.