473,425 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,425 software developers and data experts.

unable to connect db with java program

i have created some database in microsoft access, during execution of java program error came like this,

Access restriction: The constructor JdbcOdbcDriver() is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\rt.jar
Oct 15 '10 #1
3 2384
NeoPa
32,556 Expert Mod 16PB
This is Java related and not Access, so I've moved it for you to the Java Answers forum. Good luck.
Oct 15 '10 #2
Whats ur code...did u load the MySQL Java Connector Library File to the program...
Oct 15 '10 #3
load the MySQL Java Connector Library File to the program and check ur username, passward for the database and the database name
Oct 26 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Tyler | last post by:
Hi ppl, I know it's forbidden to mention Java in this newsgroup but I've been presented with a problem which requires that my C++ program communicate with another java program. What is the...
0
by: eight02645999 | last post by:
hi i have to run a java program inside my python script. i have some java classes declared: os.environ = "blah path" then i used the os.system method to invoke the java program and using ret...
3
by: Santhosh | last post by:
Dear All Thanks in advance.. I need to write a Java program that will connect to a DB2 instance and will display the DBs in that instance and its current status.. if anyone knows how to do...
1
by: pallavia84 | last post by:
i am trying to connect my java program to oracle but i am nt able to do that . please help me to do that
1
by: =?Utf-8?B?S2Vubnk=?= | last post by:
I have one bat file that contains a command to startup Java Program. Then, I would like to create a cluster job to call the bat file. In case of one computer is down, another computer can also call...
1
by: peggitt | last post by:
I need help. I need code to connect my java program with a mysql database hosted by an internet service provider(domain). The java program should run locally but read and write to a database on the...
8
by: shalinisherlin | last post by:
how to connect java with database?
1
by: devgupta01 | last post by:
prerequisite: 1. OS as XP 2. postgresql should be installed 3. postgresql-8.2-506.jdbc3.jar I followed these steps: 1. create java pragram 2. open command promt and change directory where i...
0
by: Siyodia | last post by:
This is a java program which i need to run facing compilation error Its consuming a third party web service method I have the supported files(folder) which contain necessary class files...
2
by: armantobe | last post by:
How To Configure Firewall Access For An Application By Java Program? Let A Application Name "xyz.exe" In Windows\system32\ It Should Connect To Net And Send Or Recieve Data Without Restriction...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.