473,387 Members | 1,497 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to install hibernate

How to install hibernate core,annotation,tools in windows NT platform
Oct 6 '07 #1
2 15043
JosAH
11,448 Expert 8TB
How to install hibernate core,annotation,tools in windows NT platform
Erm, follow the instructions?

kind regards,

Jos
Oct 6 '07 #2
ganeshp
38
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
Oct 8 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: chandukandula | last post by:
Hi Already my application in Struts using JDBC.At present my application is implemented in Struts with hibernate So i am not changing the SQL queries converting to the like this String...
2
by: muzu1232004 | last post by:
Do any one know the steps for installing the hibernate plugin in an Eclipse IDE ? I have downloaded the hibernate zip file and extracted it into a seperate folder. How to add hibernate to the...
6
rsrinivasan
by: rsrinivasan | last post by:
Hi all, I am using Hibernate framework in my project. This is my configuration in my "hibernate.cfg.xml" file. <property name="hibernate.c3p0.max_size">25</property> <property...
3
by: altafur | last post by:
hi, i am using java with hibernate . i want to run a hibernate order by query thru java. i have written the query in hibernate.hbm.xml file. the query is as follows: query: SELECT distinct...
0
by: neuraljay | last post by:
hi everyone. I am trying to build a jsp using webwork, hibernate and mysql. And right now I am doing its unit testing. Everytime I run the test I am getting this error: Error JDBC exception on...
1
by: ashi1290 | last post by:
I am getting this error..... Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:120)...
2
oll3i
by: oll3i | last post by:
I have hibernate plugin for eclipse (org.hibernate.eclipse_3.2.3.GA) it came together with eclipse europa , but when i do the import to use hibernate import org.hibernate.Session; import...
15
oll3i
by: oll3i | last post by:
Thank you for the last post :) now another problem when i flush the session hibernate throws nullpointerexception my code looks as follows import org.hibernate.Session; import...
1
by: CatchSandeepVaid | last post by:
I have posted this question in hibernate forums also.. As this forum is related to java, i am posting it here also ... In hibernate, presently one-to-one associations are fetched non-lazily... I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.