Hi,
I have an issue which looks simple, but too complex.
i have a stand alone application which uses hibernate with DB2 database.
I am trying to run it on AIX machine.
I have set the CLASSPATH environment variable to <DB2HOME>/sqllib/java/*.jar i made sure all DB2 related jars which is required to run my application is are in the classpath.
I am using type 4 driver of DB2 , ie com.ibm.DB2.jcc.DB2Driver
Now problem is while running the application it says Class not found, com.ibm.DB2.jcc.DB2Driver ......
My question , when i set the classpath in the environment why my jvm does not take the class from there.??
I have also tryied running the jvm with -classpath DB2HOME>/sqllib/java/db2jcc.jar:..... option still same error am getting.
Please help.
|