title: java.lang.RuntimeExceptionPyRaisable: java.lang.RuntimeException: Class com.teradata.jdbc.TeraDriver not found
body: <p>I am trying to connect with <em>Teradata</em> database in Mac 10.14.2 using <em>Jaydebeapi</em>. I am getting following error. Earlier, I was facing issue in installing <em>Jaydebeapi</em>. After lot of trials and errors. I downgraded Python 3.7 to Python 3.6. Following are the code and corresponding error output</p>
  
  <p><strong>Code</strong></p>
  
  <pre><code>import sys
  import os
  import string
  import jaydebeapi
  from time import gmtime, strftime
  from datetime import datetime, timedelta
  case_detail_server ='*******'
  amanita_server= '******'
  
  database_case_detail='CASE_DETAILS_APP'
  user_case_detail='****'
  password_case_detail='!****'
  jars= ['/Users/AppleUser/anaconda3/envs/py36/lib/tdgssconfig.jar','/Users/AppleUser/anaconda3/envs/py36/lib/terajdbc4.jar']
  jclassname_case_detail='com.teradata.jdbc.TeraDriver'
  case_detail_url='jdbc:teradata://xyz/DBS_PORT=1025,TMODE=ANSI,CHARSET=UTF8'
  
  conn_case_detail=jaydebeapi.connect('com.teradata.jdbc.TeraDriver',case_detail_url,{'user': user_case_detail, 'password': password_case_detail},jars)
  curs_case_detail = conn_case_detail.cursor()
  
  curs_case_detail.execute("SELECT TOP 100 Case_Id, Case_Type_Desc FROM aca.fact_case_detail ")
  </code></pre>
  
  <p><strong>Error</strong></p>
  
  <pre><code>java.lang.RuntimeExceptionPyRaisable: java.lang.RuntimeException: Class com.teradata.jdbc.TeraDriver not found
  ---------------------------------------------------------------------------
  java.lang.RuntimeExceptionPyRaisable      Traceback (most recent call last)
  &lt;ipython-input-59-70953f1fe337&gt; in &lt;module&gt;
        6 case_detail_url='jdbc:teradata:xyz/DBS_PORT=1025,TMODE=ANSI,CHARSET=UTF8'
        7 
  ----&gt; 8 conn_case_detail=jaydebeapi.connect('com.teradata.jdbc.TeraDriver',case_detail_url,{'user': user_case_detail, 'password': password_case_detail},jars)
        9 curs_case_detail = conn_case_detail.cursor()
       10 
  /anaconda3/lib/python3.6/site-packages/jaydebeapi/__init__.py in connect(jclassname, url, driver_args, jars, libs)
      379     else:
      380         libs = []
  --&gt; 381     jconn = _jdbc_connect(jclassname, url, driver_args, jars, libs)
      382     return Connection(jconn, _converters)
      383 
  /anaconda3/lib/python3.6/site-packages/jaydebeapi/__init__.py in _jdbc_connect_jpype(jclassname, url, driver_args, jars, libs)
      188             return jpype.JArray(jpype.JByte, 1)(data)
      189     # register driver for DriverManager
  --&gt; 190     jpype.JClass(jclassname)
      191     if isinstance(driver_args, dict):
      192         Properties = jpype.java.util.Properties
  /anaconda3/lib/python3.6/site-packages/jpype/_jclass.py in JClass(name)
       71     jc = _jpype.findClass(name)
       72     if jc is None:
  ---&gt; 73         raise _RUNTIMEEXCEPTION.PYEXC("Class %s not found" % name)
       74 
       75     return _getClassFor(jc)
  java.lang.RuntimeExceptionPyRaisable: java.lang.RuntimeException: Class com.teradata.jdbc.TeraDriver not found
  </code></pre>
  
  <p>Please help.
  Thanks in advance!
  <em>Mi</em></p>