Results 1 to 3 of 3
  1. #1
    arano86 is offline Member
    Join Date
    Sep 2009
    Posts
    2
    Rep Power
    0

    Unhappy help with jdbc for postgresql

    When I run this command I get the following error please help!!
    java -jar /home/aravind/Desktop/postgresql-8.4-701.jdbc3.jar postgre postgre ara
    Failed to load Main-Class manifest attribute from
    /home/aravind/Desktop/postgresql-8.4-701.jdbc3.jar

    I am trying to compile and run a java program in ubutu that accesses postgresql
    Bookmark Post in Technorati
    Reply With Quote

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Don't run the Postgresql jdbc driver. Run your program and give it the driver's path as part of the classpath.

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,450
    Rep Power
    19

    Default

    Quote Originally Posted by arano86 View Post
    ...
    Bookmark Post in Technorati
    Reply With Quote
    You could have at least typed it in again...:)

Similar Threads

  1. Error connecting to postgresql
    By murphyjirus in forum Advanced Java
    Replies: 6
    Last Post: 10-31-2008, 09:52 AM
  2. Replies: 0
    Last Post: 04-01-2008, 10:17 AM
  3. PostgreSQL driver
    By bugger in forum JDBC
    Replies: 3
    Last Post: 01-11-2008, 09:45 AM
  4. Replies: 0
    Last Post: 09-28-2007, 12:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •