title. cup

JDK and the DOS prompt

Open up DOS on your system and change to the folder directory that contains your
tutor.java file. It should resemble this example.
Type javac tutor.java at the DOS prompt. This will compile the tutor.java code into a
tutor.class file and place this class file within your folder directory. The tutor.class file
is your applet.

You are not done, yet. You have to build a small web page with some basic html code as
in this example. Copy this code exacly and notice that the name of your class file is
included at code="tutor.class" or code="tutor". This will reference your tutor.class file.

Go to the fifth cup and learn about the JDK applet viewer , the appletviewer.

home.
lesson1.
lesson2
lesson3
lesson4.
lesson5.
home. lesson1. lesson2. lesson3. lesson4. lesson5.