JDK 25 with zero setup
Upload your .jar and it runs on a ready OpenJDK environment. Fits Spring Boot, Quarkus, Micronaut, bots, and Lavalink servers.
From R$12.49/mo ≈ $2.25
What comes ready
The environment already knows your language: you upload the code and it runs.
Recent JDK
Virtual threads, pattern matching, and ZGC available to your code, with nothing to install.
Upload your built JAR
Build the JAR with your usual workflow and upload the file: it becomes your app's entry point.
Kotlin, Scala, Clojure, and Groovy
Any JVM language packaged as a fat JAR runs the same way Java does.
Configurable JVM
Set flags like -Xms and -Xmx in your start command (START) to control the heap and garbage collector.
What you can host
Projects that run on this runtime.
Spring Boot and Quarkus APIs
REST, GraphQL, and gRPC services that use virtual threads to handle concurrent requests.
Java Discord bots
Bots online 24/7 with JDA, Discord4J, or Javacord, each in its own isolated container.
JVM microservices
Services that talk over gRPC and Protobuf or through asynchronous messaging.
Kotlin backends
APIs with Ktor or Spring in Kotlin, using coroutines for readable asynchronous code.
Lavalink for music bots
A standalone Lavalink server for Discord music bots, connected to your bot over WebSocket.
Batch and scheduled jobs
Spring Batch, Quartz Scheduler, and ETL pipelines running continuously on the JVM.
Configuration and versions
The dashboard generates squarecloud.app at deploy, or you write your own at the project root: name, main file, memory and version in one place.
DISPLAY_NAME=Java
MAIN=app.jar
MEMORY=512
VERSION=recommended- Versions
25- Accepted files
.jarpom.xmlbuild.gradlebuild.gradle.kts- Dependencies
- Not required
- RUNTIME= values
java
Combine with other services
Everything in the same dashboard, on the same infrastructure and the same invoice.
A plan for every stage of your project
Start small and scale when you need to, with no loyalty contracts.
Hobby
To validate ideas, bots and personal projects
From R$12.49/mo ≈ $2.25
- 1 GB RAM
- 1 vCPU
- Up to 4 projects
- Scales up to 2 GB on the same plan
Standard
RecommendedFor production, with databases and custom domains
From R$44.99/mo ≈ $8.10
- 4 GB RAM
- 4 vCPU
- Up to 16 projects
- Scales up to 8 GB on the same plan
Pro
For high scale, with daily application snapshots and advanced analytics
From R$124.99/mo ≈ $22.50
- 12 GB RAM
- 6 vCPU
- Up to 48 projects
- Scales up to 24 GB on the same plan
4.9 out of 5 · 402 reviews on Google + TrustpilotTrustpilot
Frequently asked questions about Java Hosting
JDK 25, fat JAR, Spring Boot, and Lavalink servers.
Do I need to install Maven or Gradle on the server?
No. Build locally and upload the packaged .jar, which runs directly on JDK 25.
Can I run Kotlin, Scala, or Clojure?
Yes. Any JVM language packaged as a fat JAR works: Kotlin, Scala, Clojure, and Groovy.
How do I configure JVM flags?
Use the START= field in squarecloud.app. Example: START=java -Xms256m -Xmx900m -jar app.jar.
Can I host a Lavalink server?
Yes. Upload Lavalink.jar and configure START= with the right flags (e.g., java -Xmx512m -jar Lavalink.jar). Ideal for Discord music bots that need standalone audio processing, YouTube/SoundCloud/Spotify support, and WebSocket connectivity.