Re: Possible JDBC installation or usage problem in OS X
- From: Ian Wilson <scobloke2@xxxxxxxxxxxxx>
- Date: Wed, 20 Dec 2006 16:07:06 +0000
A: Because it is harder to follow.
Q: Why shouldn't I post my reply above the original text?
barry_normal wrote:
(top-posting corrected)
Ian Wilson wrote:
barry_normal wrote:
I'm having a terrible time trying to use the JDBC in os x.
Then I've opened my etc/profile file and added the location to
the classpath like this:
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/mysql-connector-java-3.1.14/mysql-connector-java-3.1.14-bin.jar"
export PATH - This might be the problem but I couldn't find an explicit example of how to do this...
CLASSPATH is not the same as PATH.
So should I just alter that same file to include the following?
CLASSPATH="/usr/mysql-connector-java-3.1.14/mysql- connector-java-3.1.14-bin.jar" export CLASSPATH
Yes. Why didn't you just try it?
Does this make it the classpath Java apps will use?
Usually.
Google for "Java classpath" then follow the sun.com or Roedy Green links. Google is useful, I recommend you try it occasionally :-)
.
- Follow-Ups:
- Re: Possible JDBC installation or usage problem in OS X
- From: barry_normal
- Re: Possible JDBC installation or usage problem in OS X
- References:
- Possible JDBC installation or usage problem in OS X
- From: barry_normal
- Re: Possible JDBC installation or usage problem in OS X
- From: Ian Wilson
- Re: Possible JDBC installation or usage problem in OS X
- From: barry_normal
- Possible JDBC installation or usage problem in OS X
- Prev by Date: Re: Possible JDBC installation or usage problem in OS X
- Next by Date: Re: Possible JDBC installation or usage problem in OS X
- Previous by thread: Re: Possible JDBC installation or usage problem in OS X
- Next by thread: Re: Possible JDBC installation or usage problem in OS X
- Index(es):
Relevant Pages
|
|