1.4 Updates:
  1. none

CSC435 Required Java Program Header
Elliott

For programs to be graded for credit, the following header MUST be included at the top of each of the Java source code files submitted to D2L. Copy the header example below, and modify it with the appropriate name, date, Java version and etc. Note that each quarter there is a version of Java we will use for compiling and running the program submissions. Compatibility with this version is your responsibility. Also, for most assignments the compilation and running of the program is fixed to a specific set of commands given as part of the assignment. Copy the header to ALL the submitted Java programs, including when there are mutliple source code submissions (e.g., client and server) for an assignment.

All files to be submitted must be named exactly as specified. We often use scripts as part of the grading process.


Example

[Numbers 1-6 are required. 7 is optional.] 1. Name: John Q. Lin 2. Date: 2023-04-02 3. Java version: 20 (build 20+36-2344) 4. Precise command-line compilation examples / instructions: > javac JokeServer.java 5. Precise examples / instructions to run this program: In separate shell windows: > java JokeServer > java JokeClient > java JokeClientAdmin All acceptable console input commands are displayed on the various consoles. My JokeServer can run across the Internet, in which case you have to pass the IP address of the server to the clients. For exmaple, if the server is running at 140.192.1.22 then you would type: > java JokeClient 140.192.1.22 > java JokeClientAdmin 140.192.1.22 6. Full list of files needed for running the program: a. JokeServer.java 7. Notes: I faked the random number generator. I have a connection bug that comes up once every ten runs or so. If the server hangs, just kill it and restart it. You do not have to restart the clients, they will find the server again when a request is made.