C:\Program Files\Java\jdk..\bin
(jdk name is not complete in the path above, it depends on the version you
are using.. so traverse this path)

add the modified copy of the above mentioned path as PATH
in environment variables

*How to set environment variable:*
Go to control panel>system>advanced system settings
select "advanced" tab
Select PATH
click on edit

On 28 February 2011 17:52, Alessandro Guffanti <ale.guffa...@gmail.com>wrote:

> Hi - apparently it does not recognize the jdk ? can you type java -version
> at
> the command prompt and send the results ?
>
> Z:\>java -version
> java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
>
>
> Which is the extension of your java code file - maybe it carries over
> a .txt extension ?
>
> I suggest you to use a programmer's editor such as Context, freeware :
>
> http://www.contexteditor.org/
>
> Keep in touch !
>
> Alessandro
>
>
>
>
> On 28/02/2011, Nikki Zoom <esz...@yahoo.com> wrote:
> > Hello,
> >
> > Recently, I began the Java Programming (With Passion!) course.  I
> > finished the first section and started the homework part to type in
> > the Hello Java program.  My first program in Notepad.
> > I downloaded what was needed, and typed the program in Notepad ok, but
> > when I tryped to compile the program on the Command Prompt window a
> > message keeps coming up:
> >
> > is not recognized as an internal or external command, operable program
> > or batch file.
> >
> > My command prompt:  C:\users\myname> keeps coming up instead and does
> > not recognize anything I try to fix in the Command Prompt window.  I
> > tried several of the error corrections, and it still keeps coming
> > back.  Is there another command to put in before CD directory?  I
> > tried everything I could.  Please help.....thanks!
> >
> > --
> > 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
>
> --
> 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
>



-- 
Yours,
Shashank Malhotra

-- 
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

Reply via email to