Solved

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

Posted on 2014-11-25
12
54 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
  • 7
  • 5
12 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
Comment Utility
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
Comment Utility
In this line is in where the error appears,
tsm



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

Author Comment

by:edo60
Comment Utility
any experts advice for deal with this?
tsm
0
 
LVL 86

Expert Comment

by:CEHJ
Comment Utility
Did you not read my answer?
0
 

Author Comment

by:edo60
Comment Utility
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
Comment Utility
Yes but are they recent ones? Also what operating system are you using?
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:edo60
Comment Utility
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
Comment Utility
I don't know where you'd get the driver sorry. I wouldn't use an Access database with Java
0
 

Author Comment

by:edo60
Comment Utility
0
 
LVL 86

Expert Comment

by:CEHJ
Comment Utility
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
Comment Utility
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
Comment Utility
tell me in where start for java conecctions i need to test and see how it works
tsm you experts
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
noX challenge 17 75
mapAB Challlenge 35 84
wordcount challenge 11 72
Java Filesystem manipulation of Word Docx file (find replace text) 3 38
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
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.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

771 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now