dear friends , when i try to compile my java files through ant i get following message. JAVA_HOME environment variable is not set. If build fails because sun.* classes could not be found you will need to set the JAVA_HOME environment variable to the installation directory of java.
actually i do not know how to set home variables in java i already install jdk1.2.2 in c drive . i also install ant in c drive in ant folder. what can i do now???