Hello,
You need to set that path in the Environment Variables in System Settings. 
No need to use JAVA_HOME

Click the "Advanced" tab
Click "Environment Variables"
In the System Variable options select "Path"

In the option for Path add the path to the ../bin

Note: Make sure to add a ; at the end of the existing path before you add 
your java path. Then you need to restart windows.

Jay

--------------------------------------------------
From: "reema" <[email protected]>
Sent: Wednesday, August 26, 2009 5:23 PM
To: "Free Java Programming Online Training Course By Sang Shin" 
<[email protected]>
Subject: [java programming] hai all

>
> my jdk is installed in this path
> C:\Program Files (x86)\Java\jdk1.6.0_16
> and I have set the path through system properties
> and my
> java_home contains C:\Program Files (x86)\Java\jdk1.6.0_16\bin
> path var contains C:\Program Files (x86)\Java\jdk1.6.0_16\bin;.;
> classpath var contains C:\Program Files (x86)\Java\jdk1.6.0_16\bin;.;
> but still when i execute on my  windows vista
> in console
> C:\users\kareema\myjavaprograms>javac hello.java
> it says javac is not recognised as internal or external command
>
>
> please help me in solving this
>   thank you
>
> >
> 

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