Java Reference
In-Depth Information
APPENDIX
A
Working with a BlueJ Project
A.1
Installing BlueJ
To work with BlueJ, you must install a Java Development Kit (JDK) and the BlueJ environment.
You can find the JDK and detailed installation instructions on this topic's CD or at http://
www.oracle.com/technetwork/java/javase/overview/index.html
You can find the BlueJ environment and installation instructions on this topic's CD or at
http://www.bluej.org
A.2
Opening a project
To use any of the example projects included on this topic's CD, the projects must be copied to
a writable disk. BlueJ projects can be opened but not executed from a CD (to execute, BlueJ
needs to write to the project folder). Therefore, it does not usually work to use projects from the
CD directly.
The easiest way is to copy the folder containing all of the topic's projects (named projects ) to
your hard disk. After installing and starting BlueJ by double-clicking its icon, select Open …
from the Project menu. Navigate to the projects folder and select a project. (You can have mul-
tiple projects open at the same time.) Each project folder contains a bluej.project file that,
when associated with BlueJ, can be double-clicked to open a project directly.
More information about the use of BlueJ is included in the BlueJ Tutorial. The tutorial is on the
book's CD, and it is also accessible via the BlueJ Tutorial item in BlueJ's Help menu.
A.3
The BlueJ debugger
Information on using the BlueJ debugger may be found in Appendix F and in the BlueJ Tutorial.
The tutorial is on the topic's CD, and it is also accessible via the BlueJ Tutorial item in BlueJ's
Help menu.
A.4
CD contents
On the CD that is included in this topic, you will find the following files and directories:
 
 
Search WWH ::




Custom Search