hello every one, like said i m a new java user, and i need to connect an access data base to my project using netbeans 8.2.
i know that oracl blocked the access, do i downloaded ucanaccess 2.0.9 still didnt work.
si i would like to ask if anyone can help please??
here is my code:
PS:(the println its just to test where it blocks)
First off, remove that line (Class.forName).
1. That is not the JDBC driver for UCanAccess.
2. I'm fairly sure the latest version of UCanAccess doesn't requre that in order to load the driver.
The other thing to say is, don't leave your catch blocks empty like that.
At the very least put in an "e.printStackTrace()" call.
I suspect you would then have seen the exception being thrown by the line I've suggested you delete.
Thanks for using code tags. You didn't get it quite right, though. The code block should be completely surrounded by the tags. I fixed it for you this time. Please review how to UseCodeTags (that's a link).
All things are lawful, but not all things are profitable.
posted 2 weeks ago
thanks,for the both of you guys
that helped alooooot
best wishes and thanks again