How to use AmazonDynamoDB Local?
You need to run the java command so that -Djava.library.path
refers to the path under which you extracted the Local DynamoDB package. The .
in -Djava.library.path=.
means "the current directory", and the app needs to be able to load the native SQLite libraries in the Local DynamoDB directory.
So you can either run this command from within the local DynamoDB directory:
java -Djava.library.path=. -jar DynamoDBLocal.jar
or you have to give the full path to both:
java -Djava.library.path=c:\path\to\dynamodb\ -jar c:\path\to\dynamodb\DynamoDBLocal.jar