{"tool":"cs","tool_display":"Cs","intent":"launch-specific-version-with-main-class","intent_display":"launch specific version with main class","title":"Cs Command: launch specific version with main class","command_string":"cs launch <group_id>:<artifact_id>:<artifact_version> --main-class <path/to/main_class_file>","raw_command_string":"cs launch {{group_id}}:{{artifact_id}}:{{artifact_version}} --main-class {{path/to/main_class_file}}","description":"Exact CLI syntax to launch specific version with main class using Cs.","usage_scenario":"When executing a legacy application requiring a precise version in a controlled environment.","scenario_context":"Ensure you specify the correct main class for a successful launch.","simulated_output":"Launching Cs Version 1.2.3...\n\nLoading main class from: path/to/main_class_file\n\nExecution in progress...\n\nProcess ID: 4578\n\nLogs:\n[INFO] Application started successfully.\n[INFO] Listening on port 8080.","how_to_steps":["Run the command: cs launch {{group_id}}:{{artifact_id}}:{{artifact_version}} --main-class {{path/to/main_class_file}}","Verify the launch by checking the application logs for successful startup."],"inferred_category":"Build Tools","canonical_url":"https://www.syntaxstandard.com/cs/launch-specific-version-with-main-class"}