
CSC 1760 Introduction to Programming
Lesson 1: Eclipse and Coding Standards
Due Date: 1/5/2009
1. Textbook: Introduction to Java Programming, Brief Version, Seventh Edition,
Author: Y. Daniel Liang, 2009, Prentice Hall
a. Reference: None
2. Eclipse
A software development environment (SED) written in Java to provide software
developers and administrators an integrated development environment (IDE). It
has a source code editor, compiler, buildin automation tools, and debugger that
specifically support Java programming. It also provides and manages a storage
structure for easier project management.
3. Eclipse Workspace
a. Your workspace for CSC 1760 is on the Snappy drive in your course
folder. The programs to be graded will be placed in that workspace.
b. You will receive grades on programs in 22 lessons (the first two lessons
are not graded). The programs for those lessons will be placed in your
workspace in a Java Project named with the lesson’s identification. For
example, Lesson03 will be stored in Java Project Lesson03. (Note: no
space between the word Lesson and the number 03.)
c. Within a project there are packages. The name of the package for each
lesson will have the same name as the program’s name unless otherwise
instructed in the lesson. In Lesson03 you are to create a program named
FirstProgram.java. The package name for that program will be
FirstProgram.
d. Finally, you will create classes. A class is a Java program that performs
actions. In Lesson03 the first class you create will be named
FirstProgram. It will be stored in your workspace in subdirectory
Lesson03 src FirstProgram and have the file name FirstProgram.java.
e. It is important that you store the programs in the proper workspace, Java
Project, package and give the program the name directed in the lesson.
When I grade your work I will look in your workspace and Java Project
folder to find the programs to grade.
4. Steps to begin entering a program:
a. Create a Project
File New Java Project
b. Create a Package
File New Package
c. Create a Class
File New Class