Hi there, In Windows XP: Right click 'My Computer'. Click 'Properties' Go to the 'Advanced' tab Click 'Environment Variables' Scroll down the list of 'System Variables' until you see the 'Variable' called 'Path' Select 'Path' and click 'Edit' In the 'Variable value' text box, go to the end of the value that is in there and add the following: ';C:\Program Files\Java\jdk1.6.0_11\bin\' (without the quotes) Pleas note that you may need to change the folder based on what version JDK you have installed. 8. When you have done this click 'Ok' on all the windows until you have closed all the windows. 9. If you have the command prompt open, close it, then re-open it and you should be able to use 'javac' Hope this helps, Bernie.
Date: Wed, 28 Jan 2009 22:01:00 -0800Subject: [java programming] Re: commandPromptFrom: dvsnva...@gmail.comto: m.myr...@gmail.comcc: happy27...@yahoo.com; javaprogrammingwithpass...@googlegroups.comhi, Just add the PATH = C:\Program Files\Java\jdk1.6.0_11\bin; to the environment variables. To check the variable please open the command prompt and type in javac it should show you the commands. Regards Varma On Wed, Jan 28, 2009 at 9:41 PM, Maciej Myrcha <m.myr...@gmail.com> wrote: You have to change your PATH variable - just add the javac directory to itregards 2009/1/29 Alex <happy27...@yahoo.com> I enter the command "javac filename.java" and receive the following error. 'javac' is not recognized as an internal or external command, operable program or batch file. I have been able to compile programs in NetBeans IDE. The file was created in notepad and saved with the .java extension. Alex _________________________________________________________________ Need a new place to rent, share or buy? Let ninemsn property help http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2F%3Ftracking%3Dsk%3Atl%3Ask%3Anine%3A0%3Ahottag%3Achange&_t=757263783&_r=SEEK_tagline&_m=EXT --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to javaprogrammingwithpassion-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---