Can can one point me what is the environment variable gone wrong here,
JAVA_HOME=/usr/java14_64
1)javac $INSTANCE_HOME/sqllib/samples/java/db2JDBCVersion.java
2)java $INSTANCE_HOME/sqllib/samples/java/db2JDBCVersion dbname db username passwd
It should get you the output as 'IBM DB2 JDBC '. But for me the o/p is "Bad DB2 JDBC Environment; please run usejdbc1 or rusejdbc2 again and chekc fr errors.