Assignment:
Java Programming 1 (Updated April 14th)
|
Assignment
Information |
|
|
Maximum
grade: |
20 |
|
Due
date: |
|
|
Instructions: |
[More details: What you need to do to get java 1.4 (platform 2).
It's suggested you download the smaller one, (52 MB) called Java(TM) 2 SDK,
Standard Edition 1.4.2_08. To make things easier, when you install Java click
the Change button and install it into C:\Java, then you should build your
source code and compile from: C:\Java\bin\ Once you get your command prompt into the proper directory,
compile with the command: javac HelloWorldApp.java
Run your program with: java HelloWorldApp Last point: if you have compiler errors, check to make sure your
file is named EXACTLY: HelloWorldApp.java not helloworldapp.java or something else. end of update] This
project will require you to install java on your computer and create your
first java programs. You will use notepad as your editor and run the programs
on a Windows computer (preferably windows XP). Most of
the complex instructions for this assignment are located at the web address
provided below, on Sun Microsystems website. Sun Microsystems invented Java
and release the updates, etc. You are
to follow the web link below to Sun Microsystems and follow the tutorial
there called: "Your First Cup of Java (for Microsoft Windows)" At
the end of the first page (step 3) you will create a java applet. You are to
upload three files after you get this working: the "HelloWorld.java"
file, the "Hello.html" and a screenshot of the programing
running on your computer. To take a screenshot, hold down the shift key and
hit the PrintScreen key while the program is
running. This will capture the image on the screen on the clipboard. To get
it into a file, start up "paint" (from
start/programs/accessories/paint) and select edit/paste on the menus. Your
screenshot should appear. Click file/save as and name the file screenshot.jpg (make sure to save it as a jpg, not a bmp
or it will be too big to upload easily). Print all three of these files when
you have completed the tutorial. Click to begin: Java Tutorial
1 |