Re: Mac OS X Connector/J classpath problem
Posted by: Timothy DiLauro
Date: December 29, 2004 10:42PM

Mark Matthews wrote:

> Timothy,
> Looks like you have an older version (2.0.14?)
> lying around somewhere in your classpath. The
> stacktraces you post don't 'line up' with the
> sources for 3.0.x, either in method name,
> signature or line #'s, however they do look a lot
> like Connector/J 2.0.14, or an older 3.0.x that
> was made before MySQL 4.1 existed.


I already understand that I am somehow loading a backlevel Connector/J, which is causing my problem. I do not, however, know where it is coming from. There are some details in the original post about what I have done so far in trying to track down the problem.

> Make sure you don't have any old versions of the
> driver lying around in jre/lib/ext or pointed to
> by your CLASSPATH variable.

The CLASSPATH shell variable is not set and, because I am running Mac OS X, there is no jre/lib/ext directory. I have looked in other places, but to no avail. My original post shows what I have done so far.

Any suggestions about where I might look on the Mac OS X platform?

> Also, you shouldn't be putting JDBC drivers in the
> bootclasspath, just refer to them with the normal
> '-cp' switch.
> -Mark

Lastly, it is not my desire to put the JDBC driver anywhere in the bootclasspath. I put that information in my post to more clearly define the problem that I am having.

There is an example in my original post that does use the '-cp' switch. It is the one that fails.

Any suggestions would be most welcome.



Options: ReplyQuote

Written By
Re: Mac OS X Connector/J classpath problem
December 29, 2004 10:42PM

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.