This content has been marked as final. Show 5 replies
Have you run the usejdbc2 script (it's in the java12 directory)
NB you have to shut DB2 down before running it
the server was not running when i executed usejdbc2.bat
forget the duke-dollers i have the answer
java -Djdbc.drivers=DriverClass ApplikationName
example: java -Djdbc.drivers=COM.ibm.db2.jdbc.app.DB2Driver DBtest
and it works
Your code runs fine under
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
But I get the same error using
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
Classic VM (build 1.3.1, J2RE 1.3.1 IBM Windows 32 build cn131w-20020403 ORB130
(JIT enabled: jitc))
I think I've seen this before, and I'm not sure if there is a work round with out updating your JDK. Could try looking throught the JDBC forum.
i lost my nerves on that !!!!!!
i tried it with JDK1.4.0 before i used JDK1.3.1
but hey now it works, that is important
hey HumbleHobbit i want to thank you for your replies and i transfer you
the 10 dukes ;-)
it could be that i will have more questions in future
i hope you will reply
anyway, thank you and stay cool dude
with best wishes HowyC