Course Setup Requirements: Hardware
Course Setup Requirements: Hardware
Hardware
Basic platform:
Intel-based PC Workstation (Windows 95, 98 or NT) with minimum 486 33Mhz
Processor and a minimum of 32 MB memory
OR
In addition:
TCP/IP communication among the student machines is strongly recommended to
illustrate Java’s networking capability and add realism to student workshops.
Internet access is strongly recommended.
Access to an HTTP server is recommended to simulate web page access. If the
students have general Internet access, this requirement is met.
Software
Here is a summary of software required for this course. Detailed instructions follow in the
sections below.
Java 2 Standard Edition version 1.3 software and documentation.
Student files (for labs).
Text editor.
Desktop shortcuts for students’ convenience.
Instructor setup.
Course Setup Requirements for Java Network Programming Page 2 of 5
This course requires version 1.3 of the Java 2 Standard Edition, also known as J2SE 1.3
or JDK 1.3. It can be installed from the course CD as follows:
1. Execute the install EXE for the JDK from the Required Software\Java JDK1.3
folder the course CD. Follow the prompts to install in a suitable directory.
2. Add the bin subdirectory underneath the JDK home directory to the PATH
environment variable. For example, if you installed the JDK to c:\jdk1.3, add
c:\jdk1.3\bin to the PATH.
To test a command line application, go to a command window and run the following
command exactly as written (it is case sensitive):
java java.lang.String
If this solves the problem, then delete the current CLASSPATH environment variable.
If not, contact the course vendor to further diagnose the problem.
If the student machines have Internet access, the students can browse the documentation
online.
1. Locate the ZIP file for the JDK documentation in the Required Software\JDK API
1.3 Documentation folder on the course CD.
Course Setup Requirements for Java Network Programming Page 3 of 5
2. Unzip it (preserving folders) to the home directory where the JDK was installed.
3. Move the docs subdirectory so that it is under the JDK home (e.g. c:\jdk1.3\docs).
Student Files
The student files consist of finished versions of the various labs, files needed to complete
certain labs, and various demo applications. They are provided on the course CD in the
form of a self-extracting zip file that will create a student directory and subdirectories.
Important note: If the student files from a previous session of this course are still on the
machine, they will have to be refreshed. Erase the student directory and all subdirectories
and reinstall the student files as described below.
Installing on Windows
4. Locate the student setup EXE in the Required Software\ Student Setup Files folder
on the course CD. Execute the EXE.
5. The Winzip dialog box will appear. You may enter the the desired drive and directory,
but if possible, use the default directory (c:\JavaNetwork) that is already entered for
you. Then click Unzip. The files will expand to the named directory on the chosen
drive.
7. Set a CLASSPATH environment variable that includes (1) the current directory and
(2) the labs subdirectory of the student setup directory. For example, if you installed
the student files to c:\JavaNetwork, set the following value for CLASSPATH:
.;c:\JavaNetwork\labs
Installing on UNIX
The student files are formatted for Windows (DOS) platforms. Installing them on a UNIX
platform will require special handling and possibly conversion.
Text Editor
Windows
If no other editor is already installed, install Textpad for Windows from the course CD as
follows:
Locate the Textpad setup.exe in the Required Software\Textpad Software folder on the
course CD and execute it.
Once the editor is installed, a license must be applied to it. The license is in the file
license.txt in the same folder on the CD. To apply it:
2. Select the portion from BEGIN LICENSE to END LICENSE (inclusive) and copy
to the clipboard.
3. Start Textpad from the Windows Start menu. (Textpad should appear on the
Programs menu.)
4. In Textpad, choose the menu command Help | Apply License Code. Paste the
license text from the clipboard into the dialog box. Then click OK.
1. In Windows Explorer, locate any file with a .java extension (or simply create one).
2. Select the file. Right-click with the mouse while holding the shift key (shift-R-click).
4. In the Open With dialog box, choose Textpad. Also turn ON the Always use this
program checkbox. Then click OK.
5. To test the association, in Windows Explorer, double-click any .java file. You should
see the file open in Textpad.
UNIX
Students can use VI, which is well known and usually available. However, many students
are not comfortable with VI, so an alternative should be available as well.
Course Setup Requirements for Java Network Programming Page 5 of 5
Desktop Shortcuts
Create a folder named XML Course on the desktop. In it, put shortcuts to the following
files. Give the shortcuts the names shown below:
Instructor Setup
The instructor will be presenting the course in the form of Adobe Acrobat (PDF) files, as
well as demonstrations of the labs and other applications and displays of documentation
screens. This requires:
An instructor workstation with the same setup as for the students.
Adobe Acrobat Reader installed on the instructor workstation. It is available in the
Required Software\ Adobe Acrobat Reader folder on the course CD.
A projector connected to the instructor workstation.