Skip to content

Installation

github-actions[bot] edited this page Dec 1, 2026 · 2 revisions

Installation

jconsole-web is one jar with no dependencies. It needs Java 17 or newer (a JDK if you want to attach to local JVMs).

Jar

Download jconsole-web-X.Y.jar from the releases, then:

java -jar jconsole-web-X.Y.jar

A token is generated and printed; open the printed URL. Use --help for all options.

Docker

docker run --rm -p 8080:8080 -e JCONSOLE_WEB_TOKEN=change-me-please hbenali/jconsoleweb \
  --target 'app=service:jmx:rmi:///jndi/rmi://host:9010/jmxrmi'

The same image is on GHCR as ghcr.io/hbenali/jconsoleweb. Images run as a non-root user and are built for amd64 and arm64 with SBOM and provenance attestations. Inside a container there are no other local JVMs, so list remote ones with --target.

From source

git clone https://github.com/hbenali/jconsole-web && cd jconsole-web
mvn -B package -DskipTests
java -jar target/jconsole-web-*.jar

Upgrading

Replace the jar (or pull the new image tag) and restart. Users files and options are read at startup; there is no database.

JVM flags in Docker

Set JCONSOLE_WEB_JAVA_OPTS (space separated, no globbing). It replaces the default -XX:MaxRAMPercentage=50 -XX:+ExitOnOutOfMemoryError:

docker run --rm -p 8080:8080 -e JCONSOLE_WEB_TOKEN=change-me-please \
  -e JCONSOLE_WEB_JAVA_OPTS='-Xmx512m -XX:+UseSerialGC' hbenali/jconsoleweb

Clone this wiki locally