wood burning stoves 2.0*
The moose likes Linux / UNIX and the fly likes Set the  classpath  postgresql in linux for java database connectivity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Set the  classpath  postgresql in linux for java database connectivity" Watch "Set the  classpath  postgresql in linux for java database connectivity" New topic
Author

Set the classpath postgresql in linux for java database connectivity

Dhiraj Gupta
Greenhorn

Joined: Sep 27, 2011
Posts: 1
Hi
In linux where we add the jar file for java database connectivity


Thanks
Dhiraj
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15950
    
  19

Welcome to the Ranch, Dhiraj!

That would depend on what kind of java code you're attempting to run. The PostgreSQL driver jar has to be in its classpath.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Set the classpath postgresql in linux for java database connectivity
 
Similar Threads
How to Install DSN on Linux
java database connection
Regrading Java Beans
Creating Database(MySql) Connectivity in linux through any driver type
How to write a service to connect to MySql?