Review the installation instructions for SAP jConnect for JDBC.
For downloading the most recent version of SAP jConnect, see http://www.sybase.com/products/allproductsa-z/softwaredeveloperkit/jconnect .