Having problem in connecting my gui java program to postgreaql database. I first used setenv classpath /home/share/postgresql/java/postgresql.jar
roj1, where proj1 is my folder conatining all java and class file, to set classpath. Then javac *.java. Then java proj1.Login. It gives me "java.lang.ClassNotFoundException: org.postgresql.Driver
", "java.lang.NullPointerException" and "Exception in thread 'main' java.lang.NoClassDefFoundError: Login"
so what is wrong with my command and what are the right commands?
PS: my db uses postgresql 7.4, my program involves jdk 1.4, I use x-window 6.0 to open the program, I am using ssh 3.2.9 to connect to unix server, and the os is solaris 8