{
    "content": [
        {
            "type": "text",
            "text": "# rmiregistry(1) (man)\n\n**Summary:** rmiregistry - Starts a remote object registry on the specified port on the current host.\n\n**Synopsis:** rmiregistry [ port ]\nport   The number of a port on the current host at which to start the remote object registry.\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -J | — | — | Used with any Java option to pass the option following the -J (no spaces between the -J and the option) to the Java inte |\n\n## See Also\n\n- java(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (5 lines)\n- **DESCRIPTION** (4 lines) — 1 subsections\n  - rmiregistry & (16 lines)\n- **OPTIONS** (1 lines) — 1 subsections\n  - -J (3 lines)\n- **SEE ALSO** (11 lines)\n\n## Full Content\n\n### NAME\n\nrmiregistry - Starts a remote object registry on the specified port on the current host.\n\n### SYNOPSIS\n\nrmiregistry [ port ]\n\n\nport   The number of a port on the current host at which to start the remote object registry.\n\n### DESCRIPTION\n\nThe rmiregistry command creates and starts a remote object registry on the specified port on\nthe current host. If the port is omitted, then the registry is started on port 1099. The\nrmiregistry command produces no output and is typically run in the background, for example:\n\n#### rmiregistry &\n\nA remote object registry is a bootstrap naming service that is used by RMI servers on the\nsame host to bind remote objects to names. Clients on local and remote hosts can then look up\nremote objects and make remote method invocations.\n\nThe registry is typically used to locate the first remote object on which an application\nneeds to call methods. That object then provides application-specific support for finding\nother objects.\n\nThe methods of the java.rmi.registry.LocateRegistry class are used to get a registry\noperating on the local host or local host and port.\n\nThe URL-based methods of the java.rmi.Naming class operate on a registry and can be used to\nlook up a remote object on any host and on the local host. Bind a simple name (string) to a\nremote object, rebind a new name to a remote object (overriding the old binding), unbind a\nremote object, and list the URL bound in the registry.\n\n### OPTIONS\n\n#### -J\n\nUsed with any Java option to pass the option following the -J (no spaces between the\n-J and the option) to the Java interpreter.\n\n### SEE ALSO\n\n• java(1)\n\n• java.rmi.registry.LocateRegistry class description at\nhttp://docs.oracle.com/javase/8/docs/api/java/rmi/registry/LocateRegistry.html\n\n• java.rmi.Naming class description at\nhttp://docs.oracle.com/javase/8/docs/api/java/rmi/Naming.html\n\n\n\nJDK 8                                     21 November 2013                            rmiregistry(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "rmiregistry",
        "section": "1",
        "mode": "man",
        "summary": "rmiregistry - Starts a remote object registry on the specified port on the current host.",
        "synopsis": "rmiregistry [ port ]\nport   The number of a port on the current host at which to start the remote object registry.",
        "flags": [
            {
                "flag": "-J",
                "long": null,
                "arg": null,
                "description": "Used with any Java option to pass the option following the -J (no spaces between the -J and the option) to the Java interpreter."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "java",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/java/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": [
                    {
                        "name": "rmiregistry &",
                        "lines": 16
                    }
                ]
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-J",
                        "lines": 3,
                        "flag": "-J"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 11,
                "subsections": []
            }
        ]
    }
}