Executable JAR deployments
Deploy a Spring Boot, Quarkus, Micronaut or plain executable JAR from GitHub or a ZIP/RAR archive.
Host Spring Boot, Quarkus, Micronaut or a plain executable Java JAR from GitHub or ZIP/RAR. Select the Java runtime, allocate RAM for the JVM and application, then use logs and metrics to tune it.
Build once, then run with JVM headroom
Java
select the Java version in the live runtime catalog
Optimized JVM
optimized JVM
1,536 MB
1,536 MB starting allocation for Spring Boot
Live
application logs and resource metrics
The Java runtime runs executable JARs. Package the application first, give the JVM enough headroom, and use the same deployment flow for web services and background processes.
Explore capabilitiesDeploy a Spring Boot executable JAR for REST APIs, webhooks or internal services. Start with 1,536 MB, then use observed memory to choose the right plan.
Package your Quarkus or Micronaut application as an executable JAR and configure its runtime version, memory, environment variables and public web access when it serves HTTP.
Run a CLI-style worker, scheduled process or another executable JAR with its own entry point and JVM flags. Follow startup output and resource metrics from the dashboard.
The plan cards below show the current RAM and vCPU allocations. Size the full container allocation for heap, metaspace, threads and native memory.
Deploy a Spring Boot, Quarkus, Micronaut or plain executable JAR from GitHub or a ZIP/RAR archive.
Choose a compatible Java version and size the full container allocation for the JVM and your application.
Each Java application has a 10 GB persistent disk at /app. Files written there survive application restarts, including generated files and state your Java process needs to retain.
Every Java application receives a free HTTPS address under *.shardweb.app. Connect a custom domain with the Core plan or higher when Spring Boot, Quarkus or Micronaut serves web traffic.
Application logs expose JVM startup and runtime errors. Review RAM and CPU metrics under real traffic before moving to a larger plan.
Java applications support auto-restart. Manage the process from the dashboard and use logs to investigate configuration or memory failures that cause it to stop.
Package an executable JAR, set the Java runtime and memory configuration, then verify the process under its real workload.
Get startedFrom connection to the first decision, in one flow.
Open step-by-step Shard Cloud documentation for popular projects in this runtime.
Create and host a Lavalink music server on Shard Cloud.
Read tutorialDeploy an executable JAR with a main class. Build the artifact locally or in CI, then use the Java deployment guide for the current project configuration.
Set VERSION=LATEST for the newest supported Java release, or VERSION=recommended for the platform's recommended release. Choose the setting compatible with your bytecode and dependencies.
Set MAIN to your executable JAR in .shardcloud, for example MAIN=spring-app.jar. The JAR must define Main-Class in its MANIFEST.MF. A web service must listen on port 80.
Every app needs at least 256 MB. Use 512 MB or more for a public website or API, then increase it based on observed usage.
Yes—but only by using a virtual machine. Minecraft needs a persistent Java process and control over its game port, which the managed Java app flow does not provide. Size the VM's RAM and CPU for the player count and mod pack.
Your server must listen on port 80.
Read the full Java deployment guide
Bring a Spring Boot, Quarkus, Micronaut or plain Java JAR. Compare the current plan RAM and vCPU allocations below before you deploy.
Guided setup with no commitment
Executable JAR ready
Confirm its main class, JDK compatibility and production configuration before upload.
Memory budget set
Allocate memory for both the JVM heap and its non-heap overhead, then verify the workload under real traffic.
Deploy your Java app
Connect GitHub or upload a ZIP/RAR, select Java and start the executable JAR.
Perfect for freelancers or individuals who need to host applications and bots.
For small teams and startups that need infrastructure for multiple projects.
Built for scaling companies with high project volume and advanced support.