As we can see that compile failed. Try setting path by following these
steps
http://www.java.com/en/download/help/path.xml

Windows 7
http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx

http://windows7forums.com/windows-7-support/18785-setting-path-environment-variable-does-not-work.html

Best way to learn is to keep programming and keep googling for best
practices and errors

G


On Mon, Jul 25, 2011 at 9:43 AM, Chao jun <chaoju...@gmail.com> wrote:

> Hi there fellows:
>
> I am very new to java. Doing lab 1001 on compiling a program using
> command-line window I launched it and it automatically comes as C:
> \Users\R>.
>
> I tried C:\Users\R> myjavaprograms> javac Hello.java and got the
> message: javac is not and executable internal or external
> command,program or batch file.
>
> Then again I did C:\Users\R> javac Hello.java, again the same message.
>
> I did C:\Users\R> java>javac>myjavaprograms>Hello.java and it resulted
> in an exception ClassNotFound.
>
> What is wrong,please?
>
> I use windows 7 OS
>
> Kind Regards,
>
> Dayo
>
> --
> 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

Reply via email to