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

2 Answers 2

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/*
0

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

You must log in to answer this question.