Thanx for giving m it but sir i think there is problem in my laptop its cmd
is not working properly so it is again and again giving same problem so u
have given m right solution so thank u about it





On Mon, Nov 29, 2010 at 8:09 AM, CJ poojari <[email protected]> wrote:

> Dear mainsh,
>
> first make sure that java is properly installed in ur system.
> for that go to
> run->type'cmd'->javac
> if error comes
> javac is not reconized by the system. some what this this it is not
> installed properly.
>
> then how to compile it
>
> Run->cmd->type "notepad filename.java" press enter then click yes on dialog
> box
>
> please note that ur class name should be same as ur file name in our case
> it is "filename"
>
> so lets start we program
> class filename
> {
>           public static void main(String [] args)
>           {
>                  System.out.println("UR PROBLEM HAS to Solved");
>           }
> }
>
> save it...
> then again go to cmd
> type"javac filename.java" press enter
>
> if it compiles with no error then
>
> type "javac filename" press enter
>
> please tell me that it worked or not
> byeeee
>
> CJ
>
>


-- 
Regards
Manish Mhatre
9076417538

Reply via email to