Hello there:
  Go to  My computer and click the right button, choose the bottom
one..
 And there are three things you have to do as you click the advanced
tab
      =>Click the environment variable
     For the system variables setting
       1. click (W) button => for (N) part, type "JAVA_HOME"
                            for (V) part, type "C:\Program Files\Java
\jdk1.6.0_10"
                         => click "OK" button
        it makes sure the JAVA_HOME is in the JDK category
      2.  point to the "path" variable => click (I) button
              => add the following at first
                    "%JAVA_HOME&/bin;" remember it is "/" not "\" as
it is in the
                   Linux/Unix system and do not forget to add ";"
              => click "OK" button
        it makes sure the system load the JAVA_HOME's binary library
and can apply them
        for the later use
      3. Click (W) button => for (N) part, type "Classpath"
                             for (V) part, type "."
               => click "OK" button
        it makes sure it can "javac" everywhere in the Windows XP
system
   All the last action is click "Sure" button... and All is done...
  Now you can run Java happily....
 Best regards
                                           Kafka
On Nov 25, 10:52 pm, Vijay <[EMAIL PROTECTED]> wrote:
> I have set ,
>
> JAVA_HOME as C:\Program Files\Java\jdk1.6.0_10  [User variable]
>
> PATH as C:\Program Files\Java\jdk1.6.0_10\bin  [System varible]
>
> But when I tried %  javac Myfile.java
>
> its showing,
>
> javac: File not found
> Usage : ----
> Use: ------
>
> also showing exception error when i tried to run the class file
>
> But when I tried from the path C:\Program Files\Java\jdk1.6.0_10\bin
> its compiling and running succesfully ...
>
> regards,
> Vijay

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