Re: Possible JDBC installation or usage problem in OS X
- From: "barry_normal" <barry_normal@xxxxxxxxxxx>
- Date: 20 Dec 2006 08:36:29 -0800
Ian Wilson wrote:
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 :-)
Hello Ian,
Well, I tried googling but just couldn't find an explanation which was
more specific than just 'edit the file' not what to put in it.
Also, I wasn't sure if it could be some slight syntactical difference
which OS X exhibits in this department. All the instructions seem to
assume a Windows machine.
I did try putting the text in as above but that didn't have any effect.
Still getting the same message so I was unclear as to whether it needed
some other info in there or something I've no clue about at all.
Cheers!
B
.
- Follow-Ups:
- Re: Possible JDBC installation or usage problem in OS X
- From: Ian Wilson
- 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
- Re: Possible JDBC installation or usage problem in OS X
- From: Ian Wilson
- 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: Help with JDBC and SQL Connecting to AS400 ISERIES and DB2
- 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
|
|