To leverage classes like java.util.Base64 we should compile for Java 8. Java 8 is the minimum supported Java version since AEM 6.2. Also AEM 6.1 is out of support since quite a while now (https://helpx.adobe.com/support/programs/eol-matrix.html) so at the same time we should increase the minimum supported AEM version to AEM 6.2 (or newer).
To leverage classes like java.util.Base64 we should compile for Java 8. Java 8 is the minimum supported Java version since AEM 6.2. Also AEM 6.1 is out of support since quite a while now (https://helpx.adobe.com/support/programs/eol-matrix.html) so at the same time we should increase the minimum supported AEM version to AEM 6.2 (or newer).