Hi, Please enter these commands after installing java:
1) keep C:\Java\jdk1.6.0_11\bin directory in c directory. 2) open cmd prompt and enter cmd below : set path=%path%;C:\Java\jdk1.6.0_11\bin;. 3) enter this cmd as : javac --> now it works --- On Tue, 14/7/09, David Seto <[email protected]> wrote: From: David Seto <[email protected]> Subject: [java programming] Re: how to To: "'Babu Rajendran'" <[email protected]> Cc: [email protected], "'Free Java Programming Online Training Course By Sang Shin'" <[email protected]> Date: Tuesday, 14 July, 2009, 3:21 AM Hi Babu I ran a new command prompt and I still got the error message. I even rebooted my OS to see if that would help still got the same error message. From: Babu Rajendran [mailto:[email protected]] Sent: Monday, July 13, 2009 1:44 AM To: [email protected] Cc: [email protected]; Free Java Programming Online Training Course By Sang Shin Subject: Re: [java programming] Re: how to Hi David, After setting the PATH variable, try to run the command 'javac' in a new command prompt. If you give the command in the same command prompt as you were running earlier prior to setting the PATH, you would obviously get the error message. Regards, Babu On Mon, Jul 13, 2009 at 8:37 AM, David Seto <[email protected]> wrote: Under variable value - :\Program Files\Java\jdk1.6.0_11\bin; Previous email forgot to insert ; Still can't run javac without seeing that error message. -----Original Message----- From: David Seto [mailto:[email protected]] Sent: Sunday, July 12, 2009 8:05 PM To: '[email protected]'; 'Free Java Programming Online Training Course By Sang Shin' Subject: RE: [java programming] Re: how to Hi I added the environment variables - inserted Under Variable name - PATH Variable value - C:\Program Files\Java\jdk1.6.0_11\bin Ran Javac command and I still got that message 'javac' is not recognized as an internal or external command, operable program or batch file message. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Andi Zunaidi Sent: Saturday, July 11, 2009 7:34 PM To: Free Java Programming Online Training Course By Sang Shin Subject: [java programming] Re: how to On Jul 12, 12:19 am, ben <[email protected]> wrote: > hi everyone, > > i just have one more small doubt.... i would like to know how to add > the path C:\"Program Files"\Java\jdk1.6.0_11\bin to the front of the > environment variable so that i can compile the programs without having > to specify the entire path... > > thanks, > ben. take look to http://otodidak-stuff.blogspot.com/2008/08/setup-jdk-java-development-kit-di .html regard Andi Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
