Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: TiDB 6.5 扩容cdc,遭遇java not usable的问题。

[TiDB Usage Environment] Testing
[TiDB Version] TiDB 6.5
[Reproduction Path] Use tiup cluster check zdww-tidb /home/tidb/tidb/scale-out.yaml --cluster --user tidb -p -i /home/tidb/.ssh/id_rsa
to perform CDC and TiSpark scaling and installation operations.
[Encountered Issue: Problem Phenomenon and Impact]
Hello! I would like to ask, does installing CDC require a Java environment? When I was performing CDC and TiSpark scaling, I found that CDC requires a Java environment. My machine 154 has a Java environment installed, but when I performed the check (tiup cluster check kkk-tidb /home/tidb/tidb/scale-out.yaml --cluster --user tidb -p -i /home/tidb/.ssh/id_rsa
), it prompted that the Java environment was not installed. I am very frustrated and seeking help online.

[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]