Java

Apptimize supports server-side experimentation and release management through several server-oriented SDKs including Java.

Our server-side SDKs support programmatic experimentation (Dynamic Variables and Code Blocks) as well as Feature Flags.

Note: The Apptimize Java SDK officially supports Java 8 and above. Please contact us if you want to use the SDK but are on an earlier version of Java.

SDK Installation

Sign in or Register for Apptimize. You’ll see a welcome page that asks for the name of your app. After entering all your info, you’ll see these installation instructions again.

  1. Download the latest Java SDK from the SDK Download page.
  2. Include the jar within your project.
  3. In any files that use Apptimize, import the SDK using: import com.apptimize.Apptimize.
  4. You should now have access to all Apptimize APIs.

You can find our latest Java API Documentation here.

Initializing Apptimize

To initialize Apptimize, make the following call with the App Key associated to your app, which can be found in the Install tab of your Dashboard. Note that setup has to be called for each unique session in which you are using the Apptimize API.

Java
Apptimize.setup("<appkey>");