From: rath.swaroop at gmail.com (swaroop) Date: Wed, 16 Jun 2010 23:11:11 +0100 Subject: [Pljava-dev] please help - java.lang.ClassNotFoundException: org.postgresql.Driver Message-ID: Hi I compiled and installed Postgres in Ubuntu Jaunty. I need to develop an extension to PostgreSQL and this is why I choose to compile from the sources, rather than using an installer. I tried to install pljava and followed the steps outlines in " http://wiki.tada.se/index.php/Installing_on_Linux_(or_other_*nix)" sincerely. I am sure that I did things correct. The last step says, run the deployer program. I did that but unfortunately I get an exception. Please help me here. The exception is below. I tried to download the jdbc driver at http://jdbc.postgresql.org/download/postgresql-8.4-701.jdbc3.jar and added it to classpath. But this did not help. Please advice. swaroop at swaroop-laptop:~/Project/pljava$ java -cp deploy.jar org.postgresql.pljava.deploy.Deployer -install java.lang.ClassNotFoundException: org.postgresql.Driver at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:319) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:264) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at org.postgresql.pljava.deploy.Deployer.main(Deployer.java:238) Regards Swaroop -------------- next part -------------- An HTML attachment was scrubbed... URL: