Hey,

     following  below steps for compiling and executing class files on
command prompt:

  1)    Please set path for jdk6 directory on command prompt :

        ex: *c:\> set path=%path%;c:\jdk6\bin;.;
*
  2)  Enter the javac command after first step:

            *c:/> javac Hello.java*   (if this file in c directory)

  3)   To run the class file you need to set classpath after 1,2 steps:

        *c:\> set classpath=%classpath%;c:\jdk6\lib;.;*

  4)  Enter the java command to execute the class file:

       *c:/> java Hello*   (if this file in c directory )



Thanks

Srinivas

On Thu, Sep 18, 2008 at 11:32 AM, Stuart.Barron
<[EMAIL PROTECTED]>wrote:

>  Hello List
>
>
>
> I am still at the start of the course and my problem is that I can't get my
> system to find javac.
>
> So I typed in at the Command prompt "C:\jdk6\bin\javac HelloWorldApp.java"
> my system (windowsXP home) told me that it could not find javac and shut
> down.
>
>
>
> Any suggestions
>
>
>
> Kindest Regards
>
> Stuart
>
> >
>

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

Reply via email to