{
    "path": "$OET_PATH/testcases/function_test/pkg_test/java/java-21-openjdk",
    "machine num": 1,
    "cases": [
        {
            "name": "test_java-21-openjdk_function_install",
            "desc": "测试通过包管理器（如yum/dnf/apt）成功安装java-21-openjdk软件包。"
        },
        {
            "name": "test_java-21-openjdk_function_check_version",
            "desc": "测试执行java -version命令能正确显示JDK 21版本信息。"
        },
        {
            "name": "test_java-21-openjdk_function_compile_java",
            "desc": "测试使用javac命令成功编译一个简单的HelloWorld.java源文件。"
        },
        {
            "name": "test_java-21-openjdk_function_run_java",
            "desc": "测试使用java命令成功运行已编译的HelloWorld.class程序。"
        },
        {
            "name": "test_java-21-openjdk_function_uninstall",
            "desc": "测试通过包管理器成功卸载java-21-openjdk软件包，并验证java命令不再可用。"
        }
    ]
}