CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: CLASSPATH=

  1. #1
    Join Date
    Sep 1999
    Location
    Florida
    Posts
    1

    CLASSPATH=

    I have Teach Yourself Java 2 from SAMS, and it came with 1.2 SDK. The installation advice is to put a CLASSPATH= (the path to tools.jar)in autoexec.bat, but my Win98 keeps saying that it is invalid line and ignores it during bootup;indeed there is not CLASSPATH command anywhere in Windows documentation. I keep having erratic class not def or not found errors. I can't be the only one with this problem! What do I do?


  2. #2
    Join Date
    Sep 1999
    Location
    Madurai , TamilNadu , INDIA
    Posts
    1,024

    Re: CLASSPATH=


    How do you set the classpath ?

    like this ?

    SET CLASSPATH=.....

    I think you might be missing SET command.

    Poochi...


  3. #3
    Join Date
    Sep 1999
    Posts
    4

    Re: CLASSPATH=

    You can try giving the following at the DOS Prompt.

    set CLASSPATH=c:\.........\your.jar




  4. #4
    Join Date
    Sep 1999
    Posts
    10

    Re: CLASSPATH=

    Follow these simple instructions:
    1. edit autoexec.bat
    2. at the very end add
    SET CLASSPATH=.;C:\.........\TOOL.JAR
    3. save and exit
    4. type autoexec.bat on dos prompt

    DONE








Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured