Re: Installing the Driver
I'm very close. I have everything set up with one problem...
DriverManager.registerDriver(new org.gjt.mm.mysql.Driver());
In the above line of code, gjt is unrecognized as part of org. I have Connector/J, but don't know what to do with it to fix this. The JAR files all error when I try to run them. Am I supposed to try to run them? How do I install Connector/J into Java? I also tried an older driver, MM.MySQL, which came as one JAR file named:
mm.mysql-2.0.14-you-must-unjar-me.jar
Running that also caused the same error: Failed to load Main-Class manifest attribute from <filename>
I also figured out what my classpath is and have the .classpath file open in Wordpad, so I can set that up if told what it needs to point to. (Since the assignment says specifically not to change classpath, I'll be moving what it needs to point to to somewhere it already points.)
Subject
Written By
Posted
Re: Installing the Driver
May 08, 2005 05:34PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.