IntelliJ Java IDE
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
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Reply 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: 12513

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.


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
 
IntelliJ Java IDE
 
subject: Set the classpath postgresql in linux for java database connectivity
 
Threads others viewed
java database connection
How to Install DSN on Linux
How to write a service to connect to MySql?
Regrading Java Beans
Creating Database(MySql) Connectivity in linux through any driver type
developer file tools