I've developed a Java application (a dictionary) with an Access database to store the words of the dictionary and I'm getting ready to distribute it.
I want to encrypt my database with a password to prevent people to access my words.
When I set a passwords the Java code shows this Exception
net.ucanaccess.jdbc.UcanaccessSQLException: Decoding not supported. Please choose a CodecProvider which supports reading the current database encoding.
at net.ucanaccess.jdbc.UcanaccessDriver.connect(UcanaccessDriver.java:247)
Here is my connection code before encryption of my database with password ....
String s1="jdbc:ucanaccess://";
String user="";
String pass="";
String s4="words.accdb";
public void connectToDB(){
//database connection
try {