classpath « postgresql « Java Database Q&A





1. postgresql classpath under windows    stackoverflow.com

I'm running this under windows vista cmd prompt:

java -classpath C:\postgresql-8.4-701.jdbc4.jar -jar myJar.jar
I get the error:
Cannot load postgresql driver. org.postgresql.Driver
The line causing the error is:
Class.forName("org.postgresql.Driver");
But in eclipse, the program works, and the ...

2. Problems setting JARs to classpath in Pl/Java    stackoverflow.com

I seem to be having a problem setting multiple JAR files to the classpath for Pl/Java. For each JAR file, I have installed the JARs, using install_jar. But what I now need to ...