java install help

HELLO,
I have gone to control panel and to system and to
enviroment variables and added this:
original path was C:WINNTsystem32;C:WINNT;C:WINNTSystem32Wbem
ON MY SYSTEM:
after I added path became:
C:WINNTsystem32;CWINNT;C:WINNTSystem32Wbem;C:jdk1.4in
Classpath became:
C:WINNTsystem32;CWINNT;C:WINNTSystem32Wbem;C:jdk1.4lib
I closed control panel and went to DOS.Since I downloaded the java
compiler to drive E: inside the program files folder and a folder I
named java2,I went to Drive E: cd program files>cd java2>javac
HelloWorld.java.
I am still getting the same error messages "cannot locate javac"
and "The name specified is not recognised as an internal or external
command,operable program or batch file."
ANY SUGGESTIONS?CAN'T WE MEET ONLINE TO SOLVE THIS PROBLEM.I AM TOO
STRESSED OUT!!!!!PLEASE HELP!!!!!
marshallray!!!!!

Comments

  • : HELLO,
    : I have gone to control panel and to system and to
    : enviroment variables and added this:
    : original path was C:WINNTsystem32;C:WINNT;C:WINNTSystem32Wbem
    : ON MY SYSTEM:
    : after I added path became:
    : C:WINNTsystem32;CWINNT;C:WINNTSystem32Wbem;C:jdk1.4in
    : Classpath became:
    : C:WINNTsystem32;CWINNT;C:WINNTSystem32Wbem;C:jdk1.4lib
    : I closed control panel and went to DOS.Since I downloaded the java
    : compiler to drive E: inside the program files folder and a folder I
    : named java2,I went to Drive E: cd program files>cd java2>javac
    : HelloWorld.java.
    : I am still getting the same error messages "cannot locate javac"
    : and "The name specified is not recognised as an internal or external
    : command,operable program or batch file."
    : ANY SUGGESTIONS?CAN'T WE MEET ONLINE TO SOLVE THIS PROBLEM.I AM TOO
    : STRESSED OUT!!!!!PLEASE HELP!!!!!
    : marshallray!!!!!
    :

    have u installed java in ur E: or in the C: ?
    for the PATH and CLASSPATH that u have set, java should be installed in the C:jdk1.4 directory...
    also set a CLASSPATH to the rt.jar file. This is the run-time jar file.

    basically like this...

    [code]
    SET PATH=C:jdk1.4in
    SET CLASSPATH=C:jdk1.4in;C:jdk1.4jrelib
    t.jar
    [/code]

    it doesnt matter where u have downloaded the java compiler, u should set the PATH and CLASSPATH using the folder where u "installed" java...

    cheers...
    hope this helps
  • : : HELLO,
    : : I have gone to control panel and to system and to
    : : enviroment variables and added this:
    : : original path was C:WINNTsystem32;C:WINNT;C:WINNTSystem32Wbem
    : : ON MY SYSTEM:
    : : after I added path became:
    : : C:WINNTsystem32;CWINNT;C:WINNTSystem32Wbem;C:jdk1.4in
    : : Classpath became:
    : : C:WINNTsystem32;CWINNT;C:WINNTSystem32Wbem;C:jdk1.4lib
    : : I closed control panel and went to DOS.Since I downloaded the java
    : : compiler to drive E: inside the program files folder and a folder I
    : : named java2,I went to Drive E: cd program files>cd java2>javac
    : : HelloWorld.java.
    : : I am still getting the same error messages "cannot locate javac"
    : : and "The name specified is not recognised as an internal or external
    : : command,operable program or batch file."
    : : ANY SUGGESTIONS?CAN'T WE MEET ONLINE TO SOLVE THIS PROBLEM.I AM TOO
    : : STRESSED OUT!!!!!PLEASE HELP!!!!!
    : : marshallray!!!!!
    : :
    :
    : have u installed java in ur E: or in the C: ?
    : for the PATH and CLASSPATH that u have set, java should be installed in the C:jdk1.4 directory...
    : also set a CLASSPATH to the rt.jar file. This is the run-time jar file.
    :
    : basically like this...
    :
    : [code]
    : SET PATH=C:jdk1.4in
    : SET CLASSPATH=C:jdk1.4in;C:jdk1.4jrelib
    t.jar
    : [/code]
    :
    : it doesnt matter where u have downloaded the java compiler, u should set the PATH and CLASSPATH using the folder where u "installed" java...
    :
    : cheers...
    : hope this helps
    :

  • : : HELLO,
    : : I have gone to control panel and to system and to
    : : enviroment variables and added this:
    : : original path was C:WINNTsystem32;C:WINNT;C:WINNTSystem32Wbem
    : : ON MY SYSTEM:
    : : after I added path became:
    : : C:WINNTsystem32;CWINNT;C:WINNTSystem32Wbem;C:jdk1.4in
    : : Classpath became:
    : : C:WINNTsystem32;CWINNT;C:WINNTSystem32Wbem;C:jdk1.4lib
    : : I closed control panel and went to DOS.Since I downloaded the java
    : : compiler to drive E: inside the program files folder and a folder I
    : : named java2,I went to Drive E: cd program files>cd java2>javac
    : : HelloWorld.java.
    : : I am still getting the same error messages "cannot locate javac"
    : : and "The name specified is not recognised as an internal or external
    : : command,operable program or batch file."
    : : ANY SUGGESTIONS?CAN'T WE MEET ONLINE TO SOLVE THIS PROBLEM.I AM TOO
    : : STRESSED OUT!!!!!PLEASE HELP!!!!!
    : : marshallray!!!!!
    : :
    :
    : have u installed java in ur E: or in the C: ?
    : for the PATH and CLASSPATH that u have set, java should be installed in the C:jdk1.4 directory...
    : also set a CLASSPATH to the rt.jar file. This is the run-time jar file.
    :
    : basically like this...
    :
    : [code]
    : SET PATH=C:jdk1.4in
    : SET CLASSPATH=C:jdk1.4in;C:jdk1.4jrelib
    t.jar
    : [/code]
    :
    : it doesnt matter where u have downloaded the java compiler, u should set the PATH and CLASSPATH using the folder where u "installed" java...
    :
    : cheers...
    : hope this helps




    Helloo sumedh,
    Thanks very much for your help.I installed java on drive E:Should I reinstall it on drive C: then?Must I delete the original path and class- path:
    : C:WINNTsystem32;C:WINNT;C:WINNTSystem32Wbem and replace them with : SET PATH=C:jdk1.4in
    : SET CLASSPATH=C:jdk1.4in;C:jdk1.4jrelib
    t.jar?Can't I get it working if java is installed on drive E:?
    Thanks
    marshallray


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories