Use SAP jConnect 16.0 with Java version 6 or later.
Add this path to the CLASSPATH environment variable:$JDBC_HOME/classes/jconn4.jar