Repository navigation
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).
Download jconsole-web-X.Y.jar from the releases, then:
java -jar jconsole-web-X.Y.jarA token is generated and printed; open the printed URL. Use --help for all options.
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.
git clone https://github.com/hbenali/jconsole-web && cd jconsole-web
mvn -B package -DskipTests
java -jar target/jconsole-web-*.jarReplace the jar (or pull the new image tag) and restart. Users files and options are read at startup; there is no database.
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/jconsolewebjconsole-web is open source. Docs live in docs/wiki.