• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Login error Java Class Not Found Exception to Ms Access

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello javaranch !

i was trying to make my own class to connect to JDBCODBC Ms Access driver, it goes like this



then, i got form login, with LOGIN button inside. i have added the following code to my login form



when i tried to login, the following error show


i thought the error come from RETURN NULL inside my ConnectAccess.GetData function. idk why eclipse put quickfix RETURN NULL there,

how do i know if i can "PING" my MsAccess Correctly ?
how to solve the error ?

thanks !
 
Rancher
Posts: 4801
50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver

The JDBC/ODBC driver was removed from Java 8.
UCanAccess seems to be the driver that I've seen referenced most as a replacement. I can't guarantee anything about it, though.
 
Chernenko Nencor
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible to get done with java 6 ?


And idk if java 6 sill can be downloaded tho,


Btw is there anything wrong with my code beside JAVA Version ?
 
reply
    Bookmark Topic Watch Topic
  • New Topic