Solved

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

Posted on 2014-11-25
12
65 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
Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
arguments to jar 5 39
eclipse buid path vs tomcat lib path 10 38
Website checklist for browser compatibility? 2 37
How to log java errors in tomcat 8 24
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…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
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.

756 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