Title: BAT File
Course: CPS 261: Advanced Java Concepts ~ DL & MM MASTER

java1_3.bat


REM -- the following is a MUST.  If your JDK has a different pathname
REM -- then make appropriate changes.
path=c:\jdk1.3.1\bin;%path%

REM -- I like to have a default starting directory
cd c:\
mkdir work
cd c:\work

REM The following line is sometimes need by some applications
set JAVA_HOME=c:\jdk1.3.1

REM -- You don't have to specify a CLASSPATH, but its a good idea
set CLASSPATH=.;c:\jdk1.3.1\classes\;%CLASSPATH%

REM -- doskey allows you to bring back previous commands
doskey

REM -- Finally launch ourselves into DOS.
REM -- Note that you might have to change this if your DOS executable
REM -- is located somewhere else.
REM -- This is the normal location for Win2000.
c:\winnt\system32\cmd.exe