Java logo

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

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.

squarecloud.app
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.

4.9 out of 5 · 402 reviews on Google + TrustpilotTrustpilot

Hosted in a partner datacenter with certifications
Tier 3ISO 27001SOC 2 Type IIAlways-On DDoS Protection
Explore our infrastructure

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.

Ready to scale your project?

Join the 500,000+ developers who have used Square Cloud to host their projects.

  • Predictable pricing
  • No billing surprises
  • Deploy in seconds
  • High availability
  • Scale with stability
  • Automatic restart
  • SSL and security included
  • Isolated containers