Installing the tio package

Windows XP

  1. Install jdk1.2.2 or later.
  2. Locate the folder where the Java Development Kit is installed (e.g. c:\jdk1.3), we will refer to that as JAVA_HOME below.
  3. Copy tio.jar onto your machine into JAVA_HOME\jre\lib\ext (that folder should already exist - if you find ...\jre\lib but no ext, just create the subfolder ext). (On some browsers you may need to right click and select "Save Link As" to get it to download properly.)
  4. Select Start/Control Panel.
  5. Double click System.
  6. Select Advanced then Environment Variables
  7. Under User Variables (or System Variables if you are a system manager for a shared computer) select the PATH variable if there is one.
  8. If there is no PATH variable then select TEMP or TMP and edit the variable (TEMP or TMP) to be PATH.
  9. Add JAVA_HOME\bin to the START of the value for PATH. If PATH already existed, just add JAVA_HOME\bin; to the start of the existing PATH value. (Don't forget the semicolon between your new entry and the existing PATH value.)

Windows NT/2000

  1. Install jdk1.2.2 or later.
  2. Locate the folder where the Java Development Kit is installed (e.g. c:\jdk1.3), we will refer to that as JAVA_HOME below.
  3. Copy tio.jar onto your machine into JAVA_HOME\jre\lib\ext (that folder should already exist - if you find ...\jre\lib but no ext, just create the subfolder ext). (On some browsers you may need to right click and select "Save Link As" to get it to download properly.)
  4. Select Start/Settings/Control Panel.
  5. Double click System.
  6. Select the Environment tab.
  7. Under User Variables (or System Variables if you are a system manager for a shared computer) select the PATH variable if there is one.
  8. If there is no PATH variable then select TEMP or TMP and edit the variable (TEMP or TMP) to be PATH.
  9. Add JAVA_HOME\bin to the START of the value for PATH. If PATH already existed, just add JAVA_HOME\bin; to the start of the existing PATH value. (Don't forget the semicolon between your new entry and the existing PATH value.)

Windows 95/98/ME

  1. Install jdk1.2.2 or later.
  2. Locate the folder where the Java Development Kit is installed (e.g. c:\jdk1.3), we will refer to that as JAVA_HOME below.
  3. Copy tio.jar onto your machine into JAVA_HOME\jre\lib\ext (that folder should already exist - if you find ...\jre\lib but no ext, just create the subfolder ext). (On some browsers you may need to right click and select "Save Link As" to get it to download properly.)
  4. Edit c:\autoexec.bat to include the line:
    set PATH=JAVA_HOME\bin;%PATH%
    
    For example with the default jdk installation it would be
    set PATH=c:\jdk1.3\bin;%PATH%
    
    If the file doesn't exist, create it, if it exists, just add the line at the end.
  5. Reboot your computer.

Mac OS X

  1. Copy tio.jar onto your machine into /Library/Java/Extensions. Using the Finder you click on "Computer" then the main drive, then Library, then Extensions.
  2. That's it!

Solaris

  1. Install jdk1.2.2 or later.
  2. Locate the folder where the Java Development Kit is installed (e.g. /usr/local/java/jdk1.3), we will refer to that as JAVA_HOME below.
  3. If you are the system manager for the computer, copy tio.jar onto your machine into JAVA_HOME/jre/lib/ext (that folder should already exist). Make sure that tio.jar is world readable. (On some browsers you may need to right click and select "Save Link As" to get it to download properly.)
  4. If you are not the system manager, copy tio.jar onto your machine into some dictory, e.g. MY_PACKAGES. (On some browsers you may need to right click and select "Save Link As" to get it to download properly.)
  5. Edit your .cshrc file to include
        setenv CLASSPATH MY_PACKAGES/tio.jar
    
    If you have already defined CLASSPATH in your .cshrc file then just append :MY_PACKAGES/tio.jar to the end of the current CLASSPATH string.

An alternative method for using tio.

A very simple method for using tio that is a bit less convenient if you want to use it a lot is the following.
  1. Install jdk1.2.2 or later, if it isn't already installed.
  2. Copy tio.jar onto your machine into the directory where you will be creating your Java program.
  3. Type the following command which will create a new folder/directory called tio. jar xf tio.jar
  4. You will need to do this in every directory where you are developing Java programs.
This page maintained by Charlie McDowell . Email regarding this site.