Brian Neumann wrote:
I just installed jdk2 release 1.4.1 and I set the variables under User
environment variables as
Variable: JAVA
Value: C:\j2sdk1.4.1\bin
but when i got into the dos prompt using cmd via the run command, i get the
following error:
'javac' is not recognized as an internal or external command,
operable program or batch file.
any body know what is going on and if so can someone help me.
-Brian
Brian,
This is an issue with your OS configuration, in particular the PATH
environment variable. You have a couple of ways to fix this:
1) Use the full path when referencing the javac command
(C:\j2sdk1.4.1\bin\javac.exe)
2) Set the PATH in the local shell to include the C:\j2sdk1.4.1\bin
directory (set PATH=%PATH%;C:\j2sdk1.4.1\bin)
3) Edit the PATH environment variable (user or system) using the Windows
GUI. Be sure to start a new command shell afterwards.
HTH,
Ray
--
XML is the programmer's duct tape.