-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: How to run hibernate without ant
PostPosted: Thu Aug 24, 2006 2:31 am 
Beginner
Beginner

Joined: Sun Aug 13, 2006 8:48 am
Posts: 23
Hibernate version: 3.2

Name and version of the database you are using:Mysql5.0.22

I want to run the java code without ant and oter IDE tools

I add the lib to the CLASSPATH but when I run the code it could not find the package
I must add the *.jar to the CLASSPATH one by one


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 24, 2006 3:03 am 
Newbie

Joined: Fri Aug 11, 2006 4:12 am
Posts: 13
Hi ,
You can use

javac -extdirs directories your.java
Directories is a semicolon-separated list of directories. Each JAR archive in the specified directories is searched for class files.


Thanks,
Alok.

Do not forget the credits...


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 24, 2006 3:47 am 
Beginner
Beginner

Joined: Sun Aug 13, 2006 8:48 am
Posts: 23
THX
but after javac it how to run it ?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 24, 2006 3:48 am 
Beginner
Beginner

Joined: Sun Aug 13, 2006 8:48 am
Posts: 23
THX
but after javac it how to run it ?
how to run it with the lib which hibernate needed


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 24, 2006 4:29 am 
Newbie

Joined: Fri Aug 11, 2006 4:12 am
Posts: 13
please use :

java -Djava.ext.dirs


Do not forget the credits....
thanks,
Alok .


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.