I have a problem to connect to db2 connect on suse os/390.

I've created 2 classes DB_R.java driver type 4. and DB_L.java driver type 2.

When I run I have result: Driver type 4 works fine. Driver type 2 does not work. "SQLException: No suitable driver"

After all I was trying to use db2profile, result the same. But every thing works fine on Windows box.

beausr@APPS1:~/cafe> export JAVA_HOME=/opt/IBMJava2-s390-141

export PATH=${JAVA_HOME}/bin:/home/db2usr/sqllib/bin:${PATH}

export CLASSPATH=~/cafe:~/cafe/db2jcc.jar:~/cafe/db2java.zip: ${JAVA_HOME}/jre/lib/rt.jar:${CLASSPATH}

beausr@APPS1:~/cafe> export LD_LIBRARY_PATH=/home/db2usr/sqllib/lib:${LD_LIBRARY_PATH}

beausr@APPS1:~/cafe> java DB_R
JDBC driver version is 1.0.581

beausr@APPS1:~/cafe> java DB_L
SQLException: No suitable driver
SQLState: 08001
Message: No suitable driver
Vendor: 0