Hi Srikanth,
Even i had problems installing hibernate.
I got it solved by following the below given steps.
Step1:
Download the hibernate
Step2:
Unzip the downloaded hibernate zip file
Step3:
In the unzipped folder open the
build.bat file in any text editor.
Step 4:
In file
build.bat You will find "java -cp "lib/ant-launcher-1.6.5.jar" org.apache.tools.ant.launch.Launcher -lib lib %1 %2 %3 %4 %5" in build .bat file
Change it to
%JAVA_HOME%\bin\java -cp "lib/ant-launcher-1.6.5.jar" org.apache.tools.ant.launch.Launcher -lib lib %1 %2 %3 %4 %5
NOTE: In step-4 you will see that the only change the i made is added %JAVA_HOME%\bin\ in front of java
Step5: Make sure that JAVA_HOME points to JDK 5 and not JDK 6 .Because JDK 6 used for compilation of hibernate generates errors (refer:
http://lists.jboss.org/pipermail/hib...ry/003784.html)
But you can build using JDK 5 and start using JDk 6 for running it is specified in the same link that i have given above.
Step 6: After this build was successful on my system but it still showed a note "[taskdef] Could not load definitions from resource clovertasks. It could not be found.". But the BUILD was successful
Please share your experience here after you follow the above steps so that we can learn from your experience.
I got the above given steps from :
http://aeronaut.wordpress.com/2005/0...-hibernate-30/ and
http://lists.jboss.org/pipermail/hib...ry/003784.html
regards,
Ganesh