File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes JDBC on Java Application on Fedora Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC on Java Application on Fedora" Watch "JDBC on Java Application on Fedora" New topic

JDBC on Java Application on Fedora

Panagiotis Panais

Joined: Sep 30, 2005
Posts: 1
He all!

I have a java-application on Linux, and i want to make this application to communicate with a postgresql database. How can i setup my JDBC driver on Linux, so mt application can see my database?

On Windows is very easy with JDBC/ODBC but on Linux

Thanks everyone!
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 293


Welcome to Java Ranch.

You need to use a Postgres JDBC driver rather than the JdbcOdbc driver. The rest of your code should be the same, i.e. you shouldn't need to change it for different drivers.

Have a look at this.
I agree. Here's the link:
subject: JDBC on Java Application on Fedora
It's not a secret anymore!