0

we were earlier using java 1.6 with weblogic 10.3.6 ( 11g ) and were connecting to db2 just fine.
we had used Oracles db2driver Type 4 for the same.

Now we need to use IBM JDK 1.8 and when I do this the same datasource that was working earlier fails. The reason is - it seems with JDK 1.8 - the class - sun.io.CharToByteConverter is missing while it was present in 1.6.

So doing a search in SO - found a similar issue reported:
Connect to DB2 database in eclipse via jdbc
so we downloaded the driver - db2jcc4.jar from IBM website.
However we get issues in the datasource setup screen - on choosing this datasource:
enter image description here

On this screen - dont see an option to select database host
enter image description here so do I have to use Oracle's jars only ?
Thanks satish

Community
  • 1
  • 1
satish marathe
  • 1,073
  • 5
  • 18
  • 37

0 Answers0