How to install hibernate

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srikanth84
    New Member
    • Oct 2007
    • 1

    How to install hibernate

    How to install hibernate core,annotation ,tools in windows NT platform
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by srikanth84
    How to install hibernate core,annotation ,tools in windows NT platform
    Erm, follow the instructions?

    kind regards,

    Jos

    Comment

    • ganeshp
      New Member
      • May 2007
      • 38

      #3
      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.tool s.ant.launch.La uncher -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.tool s.ant.launch.La uncher -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


      regards,
      Ganesh

      Comment

      Working...