CISC 370 Lecture Notes for Class No. 1, February 8, 2000
Course Overview, Compiling and Executing Java Applications & Applets

Course Home Next Lecture Example Programs Exercise Solns
CoreJava Progs
Documentation
Gen'l Docs Java 2 APIs Java Glossary Term Proj Info

Assignment

To be completed before the next lecture on Thur
Reading:
Horstmann & Cornell, chaps. 1 & 2
Exercises:

1. Using your browser, put the course homepage in your list of bookmarks.

2. On Strauss, put the following at the beginning (must be before /usr/bin) of your path: /usr/jdk1.2.2/bin. Then Check to see if you are accessing the Java 2 system by doing

java -version

See configuring Java on strauss for more information. If the this command does not give the response

java version "1.2.2"
Classic VM (build JDK-1.2.2-001, green threads, sunwjit)
    
you are not accessing the proper version of the software.

3. Set the shell CLASSPATH variable according to the instructions in configuring Java on strauss .

4. Copy the file CoreJavaBook/v1ch2/Welcome/Welcome.java into a directory of your own and then compile and execute it.

Today's Lecture Topics

  1. Distribute and discuss syllabus.

  2. Call roll. Anyone desiring to add the course should see me after the lecture. Give me a sheet of paper with you name, SS#, major, CISC courses taken with grades, and any other pertinent information. I will make every attempt to accomodate everyone who has the proper background.

  3. The computing project number for this course is 2087. The URL for the course homepage is http://udel.edu/~caviness/cisc370-00S-homepage.html Note that all letters other than the S in 00S are lower case.

  4. Java documentation and set-up .

  5. HTML files. HTML = HyperText Markup Language.

    In order to help set up a good classroom environment, it helps if we get to know one another better. To assist with this, I want each of you to set up a homepage on the WWW. (This exercise is also relevant to the course.) I will provide you with a sample html file for this purpose. HTML is a fairly easy language (it is kind of like a simple text processor) so you can learn a lot about using it just by looking at examples. You can view the html source code for a web page with Netscape, for example by clicking on View on the top menu bar. This will open up another menu panel from which you choose Document Source. If you wish to learn more about HTML, there is a good online introduction to HTML and a good book, HTML: The Definitive Guide by Chuck Musciano and Bill Kennedy. The book is published by O'Reilly and Associates, Inc. and can be found in local bookstores. You can also order it directly from the publisher. All the necessary information is available through their web page at http://www.ora.com/ .

    The UDel IT also has some good online assistance for setting up web pages. See the Information Technology Help Center. Go to the bottom of the left panel and click on World Wide Web. Then click on Home Pages. I also recommend that you read the material under Style Guide.

    I would like for each of you to have your picture as a part of your homepage. I will make pictures at the end of one of our first classes.

  6. Overview of the Java compile/execute cycle. (Slide courtesy of JavaOne: Sun's 1997 Worldwide Java Development Conference)

  7. A first example of a Java program. See the file CoreJavaBook/ch2/Welcome/Welcome.java .

    File names, as above, will normally be given relative to the course home directory, $CLASSHOME. That is,

    /home/base/usrc/35/13772/Class/CISC370-00S

    This can also be typed as

    ~caviness/Class/CISC370-00S

  8. A second example, "Hello world," Java style. See the directory example-progs/helloWorld/HelloWorld.java .

Back to the CISC 370 homepage.

This page has been accessed times since 7 Feb 2000.

Corrections, suggestions and comments to Bob Caviness

Copyright 2000 B. F. Caviness