Skip to content

Instantly share code, notes, and snippets.

@dekobon
Created August 31, 2018 00:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dekobon/ed9a0222e5053d49865a8d8c8e198234 to your computer and use it in GitHub Desktop.
Save dekobon/ed9a0222e5053d49865a8d8c8e198234 to your computer and use it in GitHub Desktop.
Java Manta Environment Setup

Java Manta Environment Setup

  1. Install JVM (for now, let's use Java 8). For a certified OpenJDK build, I like to install Azul's Zulu. However, be sure to install the JVM Cryptographic extensions in order to support client side encryption. For Zulu, see: Zulu Cryptography Extension Kit.

  2. Install Maven into your path. If you are using Ubuntu, apt-get install maven is all that you need to do.

  3. Install IntelliJ. You can use the free community edition because the SDK doesn't need the features in the fancy version.

  4. After IntelliJ is installed, go to plugins and install the Error-prone Compiler Integration.

  5. In settings, go to "Build, Execution, Deployment", "Compiler", "Java Compiler" and choose "Javac with error-prone" as the compiler for the project. In the "Additional command line parameters" section enter: -Xlint:all -XepDisableWarningsInGeneratedCode. This will enable the project to output more warnings.

Topics:

  • Building and testing in the CLI
  • Building and testing in the IDE
  • Hooking up proxies
  • Adding self-signed certificates
  • Introduction to the multi-module project
  • Introduction to shading
  • Introduction to using the SDK as a consumer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment