Creating JAR that can be used with database(hsqldb)

hello..

I got a problem that i can't solve.Currently, i am making a login file that using database to compare the username and password. when i am creating the JAR, i don't know how to attach or reference the database to the JAR and how to connect jdbc to the JAR...

here is the rar of my program and others without hsqldb(database)

http://www.rarhost.com/download-0t8y1f.html

really need help,thank you...

[439 byte] By [s1au_k14a] at [2007-11-27 6:18:15]
# 1
What do you mean by connect the jar to the database? Or JDBC to the jar? It's unclear what you're trying to do hereBy the way, nobody is going to follow that link. Would you?
georgemca at 2007-7-12 17:32:05 > top of Java-index,Desktop,Deploying...
# 2

sorry if my english isn't very good.

what i want is this,i want to create a login program that uses database(i am using hsqldb) to compare the username and password. i have made the source code(using eclipse and it can run perfectly in eclipse), and try to make a JAR out of the source code. when i double clicked it, error happened :

java.lang.ClassNotFoundException : org.hsqldb.jdbcDriver

java.sql.SQLException: No suitable driver found for jdbc:hsqldb:dataLodin/db_login

two errors happened...

please help me out...

u can get my source from the link i gave upside...

thank you

s1au_k14a at 2007-7-12 17:32:05 > top of Java-index,Desktop,Deploying...
# 3

No need to see your source for that, mate. You've got a jar that contains the HSQL JDBC driver (don't know what it's called, but if you've got as far as running this in Eclipse, presumably you do), that jar needs to be specified on the classpath when you run your jar outside of Eclipse, using the -cp switch at the command line

georgemca at 2007-7-12 17:32:05 > top of Java-index,Desktop,Deploying...