1

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 ....

`

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.