From 15b80da87721e90c362b1e6f97bc5c3d49cb4597 Mon Sep 17 00:00:00 2001 From: John Walker Date: Tue, 6 Nov 2018 16:18:39 -0800 Subject: [PATCH 1/2] Document minimum supported JDK version to JDK8 Add a blurb about which JDK version is needed to use the library. --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 28e58868..e9a2e123 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,17 @@ For more advanced use cases where tighter control over the encryption and signin ## Getting Started +### Required Prerequisites +To use this SDK you must have: + +* **A Java 8 development environment** + + If you do not have one, go to [Java SE Downloads](https://www.oracle.com/technetwork/java/javase/downloads/index.html) on the Oracle website, then download and install the Java SE Development Kit (JDK). Java 8 or higher is recommended. + + **Note:** If you use the Oracle JDK, you must also download and install the [Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files](http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html). + +### Get Started + Suppose you have created ([sample code][createtable]) a DynamoDB table "MyStore", and want to store some Book objects. The security requirement involves classifying the attributes Title and Authors as sensitive information. This is how the Book class may look like: ```java From b3d3e367de4960b507c6b48ec90199241977c031 Mon Sep 17 00:00:00 2001 From: John Walker Date: Tue, 6 Nov 2018 16:19:31 -0800 Subject: [PATCH 2/2] Update Travis CI to test using JDK8 Update the JDK versions Travis uses for CI for aws-dynamodb-encryption-java. Today, these tests fail because the minimum supported version is JDK7. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cd869002..2d892cb6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: java jdk: - - openjdk7 - - oraclejdk7 + - openjdk8 + - oraclejdk8 install: /bin/true script: mvn install --quiet -Dgpg.skip=true -DskipTests=true