hi when i type javac from the windows promt i get an error saying its not recognised as an internal/external command or batch file. i've got catalin_home and classpath set as environmnet variables - do i have to be in specific directory within the jdk for compilation to work ? cheers chris
cheers i've set the PATH variable (win2000 pro) to C:\j2sdk1.4.0_02\bin and its still giving me the same error when i try to compile a class in a directory. any ideas ?
Did you happen to set the PATH after you opened your command prompt window? The settings don't automatically refresh. You have to close that window and open a new command prompt. If you have the bin directory in the path, javac should work anywhere. Run "set" and see what the PATH is really set to.