command Fail java not usable, bash: java: command not found

找到问题了,安装TiSpark服务器用的jdk是oracle的就会有问题,我改成openJdk就没问题了