Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: java not usable, bash: java: command not found报错

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version] 6.1.1
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]
When upgrading from 6.1.1 to 6.5 and checking the cluster health status: tiup cluster check --cluster
Prompt: java not usable, bash: java: command not found
But the node has JDK 1.8 configured for the tidb user, not sure what the reason is?