On this page:
Setup Guide for Net Beans IDE
Setup Guide for Eclipse IDE
Setup Guide for Command Line Users
Setup Guide for Blue J IDE
Setup Guide for JGrasp IDE
Setup Guide for Dr Java IDE
Version: 5.2.1

Setup Guides

The tester library, the world libraries and the sound library work in any IDE that supports regular Java program development, of course, including the command line programming.

We include simple guides that allow the programmer to setup the needed environment quickly. The programmer needs to save the library jar files in some designated place, create a project or folder with the user-defined source code for the Java class and interface definitions, including the definitions of the class that contains the examples of data and the test cases, and finally, to compile and to run the program in a way that invokes the test evaluation and reporting.

For a novice programmer we prefer to use a setup that does not require that students define the main method, but some IDEs make such choice either difficult or impossible.

_________________________________________________________________________________

Regardless of the programming environment, the programmer has to define one or more Java classes. For each IDE we provide one file named either Shape(s).java or Examples.java that contains a definition of the IShape interface, a definition of three classes Circle, Square, and CartPt, and finally, the class Examples that contains examples and tests for these classes.

Note: A novice programmer may include all these classes and interfaces in one file, later on learning to define each class in its own file.

Detailed instructions for setting up the project in any of the given possible environments are provided in the following sections.

_________________________________________________________________________________

Comments, Hints, Suggestions

If you have any comments, hints, suggestions about any specific IDE, ways you set up your projects that may be different from those shown, please, send e-mail to Viera, make a supplement page, write up your instructions, and I will be happy to add them to the corresponding page.

_________________________________________________________________________________

Setup Guide for NetBeans IDE

_________________________________________________________________________________

Setup Guide for Eclipse IDE

_________________________________________________________________________________

Setup Guide for Command Line Users

_________________________________________________________________________________

Setup Guide for BlueJ IDE

_________________________________________________________________________________

Setup Guide for JGrasp IDE

_________________________________________________________________________________

Setup Guide for DrJava IDE

_________________________________________________________________________________