Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to create a new report using Crystal Reports. I downloaded the Postgres driver but when I want to create the connection, it shows an error "JDBC Driver not found"

How can I solve it?

Thanks :)

share|improve this question
add comment

2 Answers

Putting your driver jar file under c:/Program Files/Java/jre_xxx/lib/ext/ should do the trick.

share|improve this answer
add comment

As Guido showed you can put this .jar file into JRE lib/ext directory. But I prefer:

  • create directory where you can put such .jar files (c:\jars, /usr/local/jars)
  • set CLASSPATH environment variable to this directory:
    • CLASSPATH=.;c:\jars\*;
    • export CLASSPATH=.:/usr/local/jars/*
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.