Skip to main content
IBM 
ShopSupportDownloads
IBM HomeProductsConsultingIndustriesNewsAbout IBM
Java Language EssentialsDownload tutorial zip fileEmail this tutorial to a friend
Main menuSection menuGive feedback on this tutorialPrevious panelNext panel
Exercises
  


1. Testing the Java Environment with SimpleProgram: Tasks page 2 of 31


For this exercise you compile and run the first Java application from the course notes, SimpleProgram.java.

There are many different Java development environments, so the exact steps required will be somewhat different across Java IDEs.

For more help with exercises, see About The Exercises

Prerequisites
  • None.

Skeleton Code

Tasks

  • Task 1

    Copy and paste the code for SimpleProgram from the course notes into a file (or use the SimpleProgram.java file above) in a working directory where you will develop programs for this course.

  • Task 2

    Compile the Java source file SimpleProgram.java.

  • Task 3

    Execute SimpleProgram.

Help for each of these tasks can be found on the next page.


copyright 1996-2000 Magelang Institute dba jGuru


Main menuSection menuGive feedback on this tutorialPrevious panelNext panel
PrivacyLegalContact