Re: Connect to access




"TechBookReport" <tbr@xxxxxxxxxx> wrote in message
news:XsKdnf3A1Pvt6ujZRVnyrg@xxxxxxxxxxxx
Rhino wrote:
"Rhino" <no.offline.contact.please@xxxxxxxxxx> wrote in message
news:e52h64$fc3$1@xxxxxxxxxxxxxxxx
"morc" <questionmarc420@xxxxxxx> wrote in message
news:1148496246.665638.235870@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
thanks alot this is what i was looking for
stupid question:
how can i find the info on my current jdbc driver? and if i don't have
one where do i get it and how to installs it.

Im not familiar with doing this so all help is appreciated.
-morc

According to the post which shows your error message, you appear to be
using the Sun JDBC/ODBC Driver. That driver can be found in the rt.jar
file. If you have a JDK installed on your machine, rt.jar can be found
in the jre\lib folder. If you have a JRE installed on your machine, you
should find it in the lib folder. As long as you have the JDK or the JRE
in your PATH, your Java program should be able to find it and use it.

I'm going to do a few tests just to verify this on my machine, then I'll
post back. This is just a quick note to let you know that I'm working on
the problem.


Sorry, I thought that should work but when I tried it, I got the same
problem you did: ClassNotFoundException when I tried to load the driver.
I had rt.jar in the Build Path (the Eclipse equivalent of Classpath) and
even moved it to the top but it made no difference. For some reason, it's
not seeing the driver and I can't think of anything else to try offhand.

Why don't you try going to the comp.lang.java.databases newsgroup? Try a
Google Groups search on Access or the driver name first since someone
must have had and solved this problem before. If that doesn't work, try a
new post and explain your problem.

Post back here when you have the answer; now that I've spent time on your
problem, I'm interested in hearing the solution ;-)

--
Rhino
Don't forget that if you're using ODBC you need to set up a DSN that maps
the dbname to a real database.

Yes, I expected to have to do that. But it doesn't explain why we get the
ClassNotFoundException while trying to load the driver.

--
Rhino


.



Relevant Pages

  • RE: AVStream INF files + Chkinf + Fastinst = Brain-ache!!
    ... Driver and each bus driver has a different mechanism for enumerating the ... TestCap installs itself on the ROOT Bus and therefore ... I ran Chkinf on the inf file and it gave ...
    (microsoft.public.development.device.drivers)
  • Re: Fedora 12 does not work after replacing the motherboard
    ... The old motherboard was an ASUS P5KR ... My video adapter is NVidia 8600GT made by ASUS (don't ... nouveau (in order to use proprietary NVidia driver). ... Package kernel-2.6.31.12-174.2.22.fc12.i686 is allowed multiple installs, ...
    (Fedora)
  • Re: pscript5 customization
    ... I downloaded your rleased code from cvs (which installs ok) but throws ... exceptions in a few places once i tried playing with it. ... To get some direction, checkout my driver, well it won't ...
    (microsoft.public.development.device.drivers)
  • Installing LexMark X83 Printer-Cannot Load
    ... Driver for XP, ... DO NOT MESS WITH THIS FOLDER. ... When the driver installs, it installs a backup of the driver files in a ... My sytem states it cannot load a "16 Bit Subsystem Folder? ...
    (microsoft.public.windowsxp.print_fax)
  • Re: Clone a W2K server???
    ... If you want to do multiple installs with the same settings, but onto different hardware, you ... > Server I had a SCSI error. ... > driver on Bootup it gave me a "SCSI Port Start Entry ...
    (microsoft.public.win2000.setup_deployment)