3 messages in com.mysql.lists.javaRe: Mac OS X 10.1 & mm.mysql| From | Sent On | Attachments |
|---|---|---|
| Javier Bolaños Molina(MCIC) | 18 Oct 2001 07:14 | |
| Martin Jacobson | 18 Oct 2001 07:49 | |
| Martin Jacobson | 18 Oct 2001 09:08 |
| Subject: | Re: Mac OS X 10.1 & mm.mysql![]() |
|---|---|
| From: | Javier Bolaños Molina(MCIC) (jav...@uxmcc2.iimas.unam.mx) |
| Date: | 10/18/2001 07:14:14 AM |
| List: | com.mysql.lists.java |
On Thu, 18 Oct 2001, Martin Jacobson wrote:
Hi,
I have mysql up & running on Mac OS X 10.1 (mysql-3.23.27-beta-apple-darwin) and I'm now trying to use Mark Matthews jdbc (mm.mysql.jdbc-2.0pre5), without success so far.
When I run a trivial test program I get the following...
% java -cp /Applications/MySQL/jdbc/mysql_2_uncomp.jar mj1 Exception in thread "main" java.lang.NoClassDefFoundError: mj1
Maybe you should add . to the classpath search:
java -cp /Applications/MySQL/jdbc/mysql_2_uncomp.jar:. mj1
the problem is your test program mjl itself, not mm.mysql.
So I thought I'd rebuild, using make, which gave me the following...
[localhost:/Applications/MySQL/jdbc] martin% make all /usr/bin/javac -O org/gjt/mm/mysql/Buffer.java org/gjt/mm/mysql/Buffer.java:64: cannot resolve symbol symbol : variable MysqlIO location: class org.gjt.mm.mysql.Buffer pos = MysqlIO.HEADER_LENGTH; ^ org/gjt/mm/mysql/Buffer.java:334: cannot resolve symbol symbol : variable MysqlIO location: class org.gjt.mm.mysql.Buffer pos = MysqlIO.HEADER_LENGTH; ^ 2 errors make: *** [org/gjt/mm/mysql/Buffer.class] Error 1
This is must be the same, sourcepath or classpath references ommited.
Javier!




