Java using xp giving error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rahul Bhate
    New Member
    • Aug 2007
    • 1

    Java using xp giving error

    Hello Sir My problem is in dos giving error that javac is not recognised.Tell me the steps for debugging.I have already set the CLASSPTH through command line & also set the PATH.But still giving error.Java is installed in the foolowing path->>
    C:\Program Files\jdk1.5
    I have already set the following classpath in xp (start->Settings->control Panel->system->Environment Variable->click on new button->variable name:CLASSPATH and Variable Value as:
    %classpath%;.;C :\Program Files\jdk1.5.0_ 04\lib;C:\Progr am Files\jdk1.5.0_ 04\lib\tools.ja r;C:\Program Files\jdk1.5.0_ 04\lib\dt.jar;E :\java;
    Clicked on ok


    then after that i go to command promt (Start->Run->cmd->click on ok)
    I have set the path as follows-

    set path =%PATH%;C:\Prog ram Files\jdk1.5\bi n;.;

    Still its not working What should I do?

    Plz Reply as early as possible
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by Rahul Bhate
    Hello Sir My problem is in dos giving error that javac is not recognised.Tell me the steps for debugging.I have already set the CLASSPTH through command line & also set the PATH.But still giving error.Java is installed in the foolowing path->>
    C:\Program Files\jdk1.5
    I have already set the following classpath in xp (start->Settings->control Panel->system->Environment Variable->click on new button->variable name:CLASSPATH and Variable Value as:
    %classpath%;.;C :\Program Files\jdk1.5.0_ 04\lib;C:\Progr am Files\jdk1.5.0_ 04\lib\tools.ja r;C:\Program Files\jdk1.5.0_ 04\lib\dt.jar;E :\java;
    Clicked on ok


    then after that i go to command promt (Start->Run->cmd->click on ok)
    I have set the path as follows-

    set path =%PATH%;C:\Prog ram Files\jdk1.5\bi n;.;

    Still its not working What should I do?

    Plz Reply as early as possible
    Add the Java bin directory path to the Windows path envirinment variable and restart your computer after that.

    Edit: Moved to Java forum

    Comment

    Working...