0

Reading MS-Excel file using JDBC-ODBC on windows-7 is working properly,On Mac machine getting below error due to unable to find the proper JDBC-ODBC drivers for Mac environment.

Error:

java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

Please do the needful to make proper setup on Mac.

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
RaM
  • 9
  • 5
  • You have to install ODBC drivers for mac. Google it. – Sanjeev Feb 17 '14 at 06:36
  • 1
    RaM, see if discussion on below pages help you: http://stackoverflow.com/questions/19709843/jdbc-odbc-driver-connection http://stackoverflow.com/questions/13420653/odbc-connection-to-ms-access-on-ubuntu/13428683#13428683 – Nikhil Joshi Feb 17 '14 at 06:38
  • thanks for all,I resolved this using Apache POI ,because I didn't find proper opensource Excel-Mac driver. – RaM May 30 '14 at 05:44

0 Answers0