Add the following dependency to your pom.xml to have Maven handle the download and classpath management automatically:
You can download the latest official release directly from the Apache Commons Codec Download Page . For stable production builds, the Maven Central Repository is the recommended source. As of May 2026, the latest version is . How to Import into Your Project download import org.apache.commons.codec.binary.base64 jar
The method of importing the JAR depends on your build system: 1. Apache Maven Add the following dependency to your pom
commons-codec commons-codec 1.22.0 Use code with caution. download import org.apache.commons.codec.binary.base64 jar
: Go to Project Settings -> Libraries -> Add New Library and select the JAR file.