AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How should i give the CLASSPATH....

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
Subhash
Guest





PostPosted: Sat Nov 22, 2003 9:21 am    Post subject: How should i give the CLASSPATH.... Reply with quote



Ive created a small application in SUNONE STUDIO 4
databse server-pointbase.
It runs well in IDE.
When i create an executable jar ,
it doesnt connect to the database.
I can realize that the problem is with the driver.
the driver is in a package (com.pointbase.jdbc.jdbcUniversalDriver)
Can i include this in the jar file i create.
How can i add class path.
please help.
Back to top
kevinc
Guest





PostPosted: Sat Nov 22, 2003 6:43 pm    Post subject: Re: How should i give the CLASSPATH.... Reply with quote



You JDBC jar must be placed in the CLASSPATH of your appserver.
I'm unfamiliar with the SUNONE appserver. Look for a /lib folder under
the SUNONE install folder. That is where you should drop the jar into.

Subhash wrote:
Quote:
Ive created a small application in SUNONE STUDIO 4
databse server-pointbase.
It runs well in IDE.
When i create an executable jar ,
it doesnt connect to the database.
I can realize that the problem is with the driver.
the driver is in a package (com.pointbase.jdbc.jdbcUniversalDriver)
Can i include this in the jar file i create.
How can i add class path.
please help.


Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.