Using Java with Metrowerks CodeWarrior 6.0/6.1 Ryan Thomson June 12, 2001 This document specifies the procedure for creating and setting up Metrowerks CodeWarrior 6.0/6.1 for Java development. It is suggested that the newest JDK (Java Development Kit) from Sun Microsystems is used. At the time of this writing the current release of the Sun JDK is Java 2 1.3 . Using CodeWarrior for Java is much the same as for C++. To begin, startup CodeWarrior and wait for the familiar greeting of the CodeWarrior menu: You should first create your main Java file containing the source code of your java program before beginning with a project. To accomplish this, select File- >New & from the File menu. This will bring a dialog box requesting the project or file type you wish to create. Click the File tab and select text file.
9
Embed
Using Java with Metrowerks CodeWarrior 6.0/6 · Using CodeWarrior for Java is much the same as for C++. To begin, startup CodeWarrior and wait for the familiar greeting of the CodeWarrior
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Using Java with Metrowerks CodeWarrior 6.0/6.1Ryan Thomson June 12, 2001
This document specifies the procedure for creating and setting up
Metrowerks CodeWarrior 6.0/6.1 for Java development. It is
suggested that the newest JDK (Java Development Kit) from Sun
Microsystems is used. At the time of this writing the current release
of the Sun JDK is Java 2 1 .3.
Using CodeWarrior for Java is much the same as for C++. To begin, startup
CodeWarrior and wait for the familiar greeting of the CodeWarrior menu:
You should first create your main Java file containing the source code of your
java program before beginning with a project. To accomplish this, select � File-
>New & � from the File menu.
This will bring a dialog box requesting the project o r file type you wish to
create. Click the � File � tab and select text file.
Type a name and location for your new Java file and click ok. Be sure that the
extension you are using is �.java � . This will bring up an empty text-editing
window.
Start with a simple java application such as � Howdy Partner! � . Type the
following code into the editor windows. Notice that the name of your class,
� Howdy � must later be the name of your � Java Target � . This will be further
explained further at the end of the handout.
You should now save the file by selecting, � File->Save � .