{
  "id": "jvm",
  "title": "RedisGears JVM plugin",
  "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/",
  "summary": "The RedisGears JVM plugin allows you to run RedisGears functions in the Java virtual machine.",
  "tags": [
    "docs",
    "operate",
    "stack"
  ],
  "last_updated": "2026-04-22T11:55:45+02:00",
  "children": [
    {
      "id": "quickstart",
      "summary": "A quick start to learn how to use RedisGears with Java.",
      "title": "RedisGears JVM quick start",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/quickstart/"
    },
    {
      "id": "install",
      "summary": "",
      "title": "Install RedisGears and the JVM plugin",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/install/"
    },
    {
      "id": "commands",
      "summary": "",
      "title": "RedisGears JVM commands",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/commands/"
    },
    {
      "id": "classes",
      "summary": "",
      "title": "RedisGears Java classes and functions",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/classes/"
    },
    {
      "id": "recipes",
      "summary": "",
      "title": "Java-based RedisGears recipes",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/recipes/"
    }
  ],
  "page_type": "content",
  "content_hash": "2e7013304b814b08a86a3c6f1b891ceffe0dd31afa8483356edf3229b379e581",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "With the [RedisGears JVM plugin](https://github.com/RedisGears/JVMPlugin), you can write RedisGears functions in [Java](https://en.wikipedia.org/wiki/Java_(programming_language)) and run them on a [Redis Software](https://redis.io/docs/latest/operate/rs/) cluster. It currently supports [JVM](https://en.wikipedia.org/wiki/Java_virtual_machine) version 11.\n\nSimilar to the Python plugin, the JVM plugin allows both batch processing and event-driven processing.\n\nBefore you can run RedisGears with Java, you will need to [install the RedisGears module and the JVM plugin](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/installing-redisgears#install-redisgears) on your Redis Software cluster and [enable them for your database](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/install).\n\nOnce you have written your code, compile and package it into a [JAR](https://en.wikipedia.org/wiki/JAR_(file_format)) file and upload it to a node on your Redis Software cluster. Use the `RG.JEXECUTE` command with the `redis-cli` command-line tool to run your code."
    },
    {
      "id": "more-info",
      "title": "More info",
      "role": "content",
      "text": "- [RedisGears JVM quick start](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/quickstart)\n- [RedisGears Java classes and functions](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/classes)\n- [RedisGears recipes](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/recipes)"
    }
  ],
  "examples": []
}
