{
    "content": [
        {
            "type": "text",
            "text": "# update-java-alternatives (man)\n\n## NAME\n\nupdate-java-alternatives - update alternatives for jre/sdk installations\n\n## DESCRIPTION\n\nupdate-java-alternatives updates all alternatives belonging to one runtime or development kit\nfor the Java language.  A package does provide these  information  of  it's  alternatives  in\n/usr/lib/jvm/.<jname>.jinfo.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS** (1 subsections)\n- **DESCRIPTION**\n- **OPTIONS** (7 subsections)\n- **FILES**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "update-java-alternatives",
        "section": "",
        "mode": "man",
        "summary": "update-java-alternatives - update alternatives for jre/sdk installations",
        "synopsis": "",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "List all installed packages (or just <jname>) providing information to set a bunch of java alternatives. Verbose output shows each alternative provided by the packages."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Switch all alternatives of registered jre/sdk installations to automatic mode."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Set all alternatives of the registered jre/sdk installation to the program path pro‐ vided by the <jname> installation. --jre Limit the actions to alternatives belong to a runtime environment, not a development kit."
            },
            {
                "flag": "",
                "long": "--jre-headless",
                "arg": null,
                "description": "Limit the actions to alternatives belong to the headless part of a runtime environ‐ ment."
            },
            {
                "flag": "",
                "long": "--plugin",
                "arg": null,
                "description": "Limit the actions to alternatives providing browser plugins."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Display a help message."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Verbose output."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "update-java-alternatives [--jre] [--plugin] [-v|--verbose]",
                        "lines": 5
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-l|--list [<jname>]",
                        "lines": 3
                    },
                    {
                        "name": "-a|--auto",
                        "lines": 2
                    },
                    {
                        "name": "-s|--set <jname>",
                        "lines": 6
                    },
                    {
                        "name": "--jre-headless",
                        "lines": 3,
                        "long": "--jre-headless"
                    },
                    {
                        "name": "--plugin",
                        "lines": 2,
                        "long": "--plugin"
                    },
                    {
                        "name": "-h|--help",
                        "lines": 2
                    },
                    {
                        "name": "-v|--verbose",
                        "lines": 3
                    }
                ]
            },
            {
                "name": "FILES",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "update-java-alternatives - update alternatives for jre/sdk installations\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "",
                "subsections": [
                    {
                        "name": "update-java-alternatives [--jre] [--plugin] [-v|--verbose]",
                        "content": "-l|--list [<jname>]\n-s|--set <jname>\n-a|--auto\n-h|-?|--help\n"
                    }
                ]
            },
            "DESCRIPTION": {
                "content": "update-java-alternatives updates all alternatives belonging to one runtime or development kit\nfor the Java language.  A package does provide these  information  of  it's  alternatives  in\n/usr/lib/jvm/.<jname>.jinfo.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-l|--list [<jname>]",
                        "content": "List  all installed packages (or just <jname>) providing information to set a bunch of\njava alternatives. Verbose output shows each alternative provided by the packages.\n"
                    },
                    {
                        "name": "-a|--auto",
                        "content": "Switch all alternatives of registered jre/sdk installations to automatic mode.\n"
                    },
                    {
                        "name": "-s|--set <jname>",
                        "content": "Set all alternatives of the registered jre/sdk installation to the program  path  pro‐\nvided by the <jname> installation.\n\n--jre  Limit  the  actions to alternatives belong to a runtime environment, not a development\nkit.\n"
                    },
                    {
                        "name": "--jre-headless",
                        "content": "Limit the actions to alternatives belong to the headless part of  a  runtime  environ‐\nment.\n",
                        "long": "--jre-headless"
                    },
                    {
                        "name": "--plugin",
                        "content": "Limit the actions to alternatives providing browser plugins.\n",
                        "long": "--plugin"
                    },
                    {
                        "name": "-h|--help",
                        "content": "Display a help message.\n"
                    },
                    {
                        "name": "-v|--verbose",
                        "content": "Verbose output.\n\n"
                    }
                ]
            },
            "FILES": {
                "content": "/usr/lib/jvm/.*.jinfo\nA  text file describing a jre/sdk installation. Consists of some variables of the form\n<var>=<value> and a list of alternatives of the form jre|jdk <name> <path>.\n\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "update-java-alternatives   and   this   manual   page   was   written   by   Matthias   Klose\n<doko@ubuntu.com>.\n\n\n\nMay 2006                   UPDATE-JAVA-ALTERNATIVES(8)",
                "subsections": []
            }
        }
    }
}