Encrypt sqlite databse using sqlcipher in java

I want to encrypt sqlite database file using sqlcipher in java.
But I am facing below compilation error
The type android.database.Cursor cannot be resolved. It is indirectly referenced from required .class file

Can you please provide solution

Hi @bharath

It appears you are using the SQLCipher for Android library, are you using that within an Android application? That library will not work on a desktop JVM.

i am using in java application (not in android), do you have any suggestion how to use sqlcipher in java

Hello @bharath

SQLCipher for JDBC would likely be a better fit, it is currently in development, however we do have a beta build. Please feel free to reach out to us at support@zetetic.net to discuss further.

Hello:

Did you release the jdbc driver for SQLCipher? If yes, what is the price?

Thanks

@costa At this time the SQLCipher for JDBC information is available through the SQLCipher Enterprise program. If you’re interested in additional information please contact us at support@zetetic.net. Thanks!