Results 1 to 3 of 3
Thread: problem with the connectors
- 05-27-2007, 01:44 AM #1
Member
- Join Date
- May 2007
- Posts
- 39
- Rep Power
- 0
- 05-28-2007, 04:48 AM #2
Member
- Join Date
- May 2007
- Posts
- 41
- Rep Power
- 0
You have to add in manifest the libraries of the jars that you use:
for example I execute my application like this:
start javaw -jar capture.jar
then inside of this jar, there is a manifest like this:
Manifest-Version: 1.0
Class-Path: colorchooser.jar capture.jar
Main-Class: com.capture.gui.Application
good luck
- 05-31-2007, 02:29 AM #3
Member
- Join Date
- May 2007
- Posts
- 38
- Rep Power
- 0
you have to insert the jar of the driver JDBC in the classpath.
It would be something like that:
java -cp pgsqlxx.jar;miapp.jar com.project.Main
or maybe:
java -cp pgsqlxx.jar -jar miapp.jar (if the manifest og myapp.jar is correct and include the Main class). ( http://java.sun.com/j2se/1.4.2/docs/...#37;20Manifest )
good luckLast edited by Nick15; 06-01-2007 at 01:14 AM.


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks