Wednesday, July 10, 2002 08:48 AM
I think you must use -classpath option also when you run your class. ("java -classpath postgresql.jar Connect").
If you obtain a "java.lang.NoClassDefFoundError: Connect" you must include in the classpath also the directory of Connect.class
(for examples: "java -classpath c:path_to_postgresql_driverpostgresql.jar;c:path_to_connect_classConnect.class Connect").