Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

enterprize java bean (ant installation)

 
ravindra ghetia
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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???
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are running windows, see help on "environment variable". Alternatively you can use SET JAVA_HOME = .... from the command prompt and invoke ant from the same shell.
 
Your mother was a hamster and your father was a tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!