This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC on Java Application on Fedora" Watch "JDBC on Java Application on Fedora" New topic
Author

JDBC on Java Application on Fedora

Panagiotis Panais
Greenhorn

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

Hi,

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: http://aspose.com/file-tools
 
subject: JDBC on Java Application on Fedora
 
It's not a secret anymore!