0

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 :)

Chida
  • 2,491
  • 1
  • 17
  • 29

2 Answers2

1

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/*
Michał Niklas
  • 248
  • 1
  • 3
  • 10
0

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

Guido
  • 137
  • 1
  • 9