include postgreSQL driver to my JAR file
Hi!
I have some files I want packaged into a JAR. one of them uses a postgreSQL driver to access database. However I can't start my JAR file.
I've previously made another JAR file and got it to work (similarities to the one below) but without a database driver...
location of .class files
ProjectName/build/classes/
location of driver:
ProjectName/build/classes/
I've run this command without luck
-
cd C:\Prog\Java\ProjectName\build\classes\
C:\Apps\Java\jdk1.6.0\bin\jar cfe AppServer.jar server.Server server\* db\* graphic\* network\* postgresql-8.2-505.jdbc4.jar
-
Where should I place the driver? in which catalog?
What commands do I use (I prefer not using manifest files if possible..)
thx..
Message was edited by:
CbbLe

