views:

17

answers:

1

Hello, I am new to berkeley db and i installed the berkeley db (not the java version ) and if i try to run the java example program it says

`SimpleDA.java:13: package com.sleepycat.db does not exist
import com.sleepycat.db.DatabaseException;
                   ^

there is no jar library how can i include the lib in java path ....

`

A: 

If you're running a Java example program that needs classes from the com.sleepycat.db package, you'll have to get those .class files into the CLASSPATH. Your .lib does you no good.

Download the JAR and add it to your CLASSPATH when you run - your exception will go away.

duffymo