您的位置:寻梦网首页编程乐园Java天地Core JavaJava Lecture Notes

Introduction

Content

Apply

Reflect

Extend

previous.gif
 (3087 bytes)

next.gif
 (2959 bytes)

 

Apply Index

Apply Page #2

Activity 2: Compilation and running of "BallWorld.java" - version 1

(1) Click on the link BallWorld.java and  then open the file. The file will be displayed in the Kawa editor window

(2) add a comment at the top of the file with your name and date

(3) save the file into your new directory Bounce1, calling the file "BallWorld.java"

(4) Compile the file into bytecode by choosing Compile from the Build pull down menu of Kawa. You should get the message:

       File Compiled?

       No Errors ?

in the message window

If there were any errors - fix them and re-compile

 (5) check the source file has successfully compiled by looking at the contents of the

 directory

  (6) now run the application by choosing Run from the Build  pull  down menu of Kawa

Discussion of Activity 2

Back to Content

Back to top

basicline.gif (169 bytes)

RITSEC - Global Campus
Copyright ?1999 RITSEC- Middlesex University. All rights reserved.
webmaster@globalcampus.com.eg