i am having a hell of a time getting my classpath problems sorted out. i've downloaded the oracle JDBC thin client for java 2 as a zip file (classes12.zip) and i'm trying to build an app that uses said library, which i have put in "/Users/me/Library/Java". i have set up a classpath environment variable read from "/Users/me/Library/init/tcsh/environment.mine" per the "/usr/share/init/tcsh/README" file instructions. when i type "env" in the terminal shell, i get:
CLASSPATH=/Users/me/Library/Java
so i'm pretty sure that's working okay.
i've set up a project builder project using the java application stationery and added "classes12.zip" to the "Frameworks & Libraries" list under the "Files & Build Phases" tab in my current target settings.
the project compiles great.
when i try to execute the following line of code in the debugger:
"DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());"
i get an exception:
"Exception occurred during event dispatching:
java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver"
and a stack trace.
what have i done wrong? where else could i set the classpath variable?
also, i am getting an identical NoClassDefFoundError exception when JEdit (which is otherwise working fantastically) tries to load the Oracle plugin, which has a dependency on the same library, even when i launch it from the command line explicitly specifying the classpath thusly:
"java -cp /Users/me/Library/Java -jar jedit.jar"
this is really making me mental. any input/suggestions would be greatly appreciated!
[This message has been edited by ultrapod (edited 04-04-2001).]