Solved

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

Posted on 2014-11-25
12
64 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
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
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 
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
 

Author Comment

by:edo60
ID: 40469202
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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
netstat -ano | find "8000" and taskkill /f /pid 2984 3 83
javap not working 8 58
jmss example java 2 23
What browser will run Java? 7 62
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
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.

839 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