Solved

Hi all, im new at java and im try to runnig some examples in Net beans

Posted on 2014-11-25
12
73 Views
Last Modified: 2016-03-24
i had this error
error: package sun.jdbc.odbc does not exist
                DriverManager.registerDriver(new sun.jdbc.odbc.JdbcOdbcDriver());

i dont know, maybe some is missing in my computer for run the examples properly
could any one help me?
tsm
0
Comment
Question by:edo60
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
12 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 40464990
I've a vague memory that Java no longer supports Access-style databases. That's doing you a favour in the long run - use a proper database
0
 

Author Comment

by:edo60
ID: 40465034
In this line is in where the error appears,
tsm



DriverManager.registerDriver(new sun.jdbc.odbc.JdbcOdbcDriver());
0
 

Author Comment

by:edo60
ID: 40467137
any experts advice for deal with this?
tsm
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 86

Expert Comment

by:CEHJ
ID: 40467214
Did you not read my answer?
0
 

Author Comment

by:edo60
ID: 40467958
yes, i read, but im not sure if you right, cos are a lot of examples with ms access
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 40468010
Yes but are they recent ones? Also what operating system are you using?
0
 

Author Comment

by:edo60
ID: 40468160
windows 7 64

i read about a driver i need to install for odbc connection jdbc , im not sure
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 40468863
I don't know where you'd get the driver sorry. I wouldn't use an Access database with Java
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 40469230
Why you'd want to buy something (c. 1000GBP) that will help you connect to a toy database puzzles me. If you do, be careful which of those drivers you buy since they don't all support 64 bit Windows
0
 

Author Comment

by:edo60
ID: 40469515
Guys i need help in here,
how do i connect java program to access database
do any have a code to help me out here?
tsm you guys
0
 

Author Comment

by:edo60
ID: 40469522
tell me in where start for java conecctions i need to test and see how it works
tsm you experts
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question