Print

Print


On Jul 5, 2004, at 1:24 PM, Peter Schlumpf wrote:

> Sounds like you might need to set the CLASSPATH environment variable
> to include the com.sleepycat.dbxml.* libraries....

Thank you for the prompt replies.

Everybody says I need to include the BerkeleyDBXML libraries (jar
files) in my CLASSPATH, but alas I have already done this:

$ echo $CLASSPATH
.:/usr/local/BerkeleyDB.4.2/lib/db.jar:/usr/local/BerkeleyDBXML.1.2/
lib/dbxml.jar

And the .jar files exist:

$ ls -l /usr/local/BerkeleyDB.4.2/lib/db.jar
-r--r--r--  1 root root 160654 Jul  5 11:52
/usr/local/BerkeleyDB.4.2/lib/db.jar
$ ls -l /usr/local/BerkeleyDBXML.1.2/lib/dbxml.jar
-r--r--r--  1 root root 18728 Jul  5 11:56
/usr/local/BerkeleyDBXML.1.2/lib/dbxml.jar

What else should I try? The following command returns errors:

$ javac Tool.java
Tool.java:11: cannot resolve symbol
symbol  : class Database
location: class Tool
     Database db = new Database(database);
     ^
Tool.java:11: cannot resolve symbol
symbol  : class Database
location: class Tool
     Database db = new Database(database);

--
Eric Lease Morgan