• 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

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 ?
 
"How many licks ..." - I think all of this dog's research starts with these words. Tasty tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic