Discussions

Web tier: servlets, JSP, Web frameworks: autoexec.bat in win98

  1. autoexec.bat in win98 (1 messages)

    Hi,
    I am using jdk in windows2000, so it was easy for me to set the CLASSPATH and the PATH, A FRIEND OF ME ASK ME TO INSTALL JDK IN HIS PC it's win98, the autoexec.bat is like this :
    @ECHO OFF
    @PATH C:\PROGRA~1\MICROS~1\OFFICE;%PATH%
    C:\PROGRA~1\NETWOR~1\MCAFEE~1\SCAN.EXE C:\
    @IF ERRORLEVEL 1 PAUSE
    SET BLASTER=A220 I5 D3 T4
    LH C:\WINDOWS\AU30DOS.COM
    @SET CLASSPATH=C:\PROGRA~1\PHOTOD~1.0\ADOBEC~18

    What I did is I added the followong two lines in that file (autoexec.bat) :
    SET CLASSPATH=C:\jdk1.3\bin
    SET PATH=C:\jdk1.3\lib

    And then I reboot the computer but it does not want to work, could you please tell me how should I add the classpath and the path to the above file ?
    Thanks
  2. autoexec.bat in win98[ Go to top ]

    try like this

    set path=c:\jdk1.3\bin;%path%;.;
    set classpath=c:\jdk1.3\lib\somefile.jar;%classpath%;.;

    %path% - for accessing the given files in path from anydrives either C or D
    ;.; - for setting the path to ur directory