Docs menu
Java
Deploy Java apps on the JVM: Maven and Gradle projects, Spring Boot, Micronaut, Quarkus, and plain JAR entry points.
On this page
Primcloud deploys Java and other JVM-language apps built with Maven or Gradle. Primcloud builds any repo with a Maven POM or a Gradle build file at the root, on the OpenJDK version you choose or the latest LTS.
Spring Boot, Micronaut, and Quarkus apps need nothing special: build a runnable JAR and start it from a Procfile. Spring Boot and WildFly Swarm apps get a web process even without one.
What's in this section#
- Getting started with Java: deploy a minimal Spring Boot app end-to-end.
- Java on Primcloud: detection, the build, and starting your process.
- Runtime versions: choosing and upgrading your OpenJDK version.
- Package managers: Maven and Gradle behavior, wrappers, private repositories, and lockfiles.
- Customizing the build: build hooks, goals and tasks, native dependencies, private CAs, and system packages.
- Troubleshooting Java: common build and runtime errors with fixes.