Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

problem with JDBC

Thread view: 
Pappu - 10 Apr 2007 08:56 GMT
Hi,

I have problem with JDBC.

I am using netBeans 5.5 along with MySQL 5.0 And connector/J Driver
for the same.
I have installed it properly.Even though I am getting database
connection in runtime window the program doesn't work.
But when I run the program I get 'com.mysql.jdbc.Driver'
ClassNotFoundException .What shoud I do to get it corrected?

Can anybody hep me?
ElLlaneroSolitario - 10 Apr 2007 09:08 GMT
Try pasting the connector in de directory:

C:\Archivos de programa\Java\jdk1.6.0\jre\lib\ext

That is in my computer; of course, you must translate it into the one
equivalent in yours.
Andrew Thompson - 10 Apr 2007 09:19 GMT
>Try pasting the connector in de directory:
>
>C:\Archivos de programa\Java\jdk1.6.0\jre\lib\ext

It would make more sense for the OP to figure
out how to add it to the runtime classpath of
the application (at runtime).

That way, the 'ext' directory does not get filled up
with a lot of useless crud that the JVM needs to
search for classes, and it also avoids having to give
the end users instructions on 'what to put where'
for the application to work.

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Andrew Thompson - 10 Apr 2007 10:54 GMT
...
> I have problem with ..

..multi-posting?

That is serious.  Please find a solution
to the multi-posting problem - soon.
<http://www.physci.org/codes/javafaq.html#xpost>

(N.B. X-post to c.l.j.p./g., w/f-u to c.l.j.p. only)

Andrew T.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.