i try to complie TestJDBC.java source for testing Java Z/os V1.13 - DB2 z/OS V10 connectivity
This source is provide by IBM during DB2 V10 installation.
Here the result :
£ cd /usr/lpp/db2/jdbc/samples
£ javac TestJDBC.java
TestJDBC.java:113: error: package com.ibm.db2.jcc does not exist
com.ibm.db2.jcc.DB2Version.getVersion() );
^
TestJDBC.java:304: error: package com.ibm.db2.jcc does not exist
if ( sqle instanceof com.ibm.db2.jcc.DB2Diagnosable ) é
^
TestJDBC.java:307: error: package com.ibm.db2.jcc does not exist
com.ibm.db2.jcc.DB2Sqlca sqlca =
^
TestJDBC.java:308: error: package com.ibm.db2.jcc does not exist
((com.ibm.db2.jcc.DB2Diagnosable)sqle).getSqlca();
^
4 errors
£
£ echo $CLASSPATH
/usr/lpp/java/J8.0_64/lib:/usr/lpp/db2/jdbc/classes:.
£
db2jcc.jar is on /usr/lpp/db2/jdbc/classes ,
Someone could help me ?
![Wink ;)](https://www.ibmmainframeforum.com/images/smilies/icon_e_wink.gif)
Thank you.