Just install headless JVM so no X11 is needed.