We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
安装jdk,路径 /usr/java// use profile /etc/profile => jdk 安装完成! => 最后您需要重启终端才能正常使用 java 环境
执行完这一步后,我重启了服务器,再执行脚本安装,提示: 开始检查 jdk /usr/bin/which: no java in (/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/java///bin:/usr/java///bin) 不存在 java 环境,开始尝试安装 系统环境变量中已经存在 CLASSPATH,请检查配置是否正确.或者终端是否重新加载环境变量:source /etc/profile 重新加载环境变量后依旧不行 系统是:rocky9 mini
The text was updated successfully, but these errors were encountered:
确定环境变量没有问题,可以尝试手动安装
Sorry, something went wrong.
No branches or pull requests
安装jdk,路径 /usr/java//
use profile /etc/profile
=> jdk 安装完成!
=> 最后您需要重启终端才能正常使用 java 环境
执行完这一步后,我重启了服务器,再执行脚本安装,提示:
开始检查 jdk
/usr/bin/which: no java in (/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/java///bin:/usr/java///bin)
不存在 java 环境,开始尝试安装
系统环境变量中已经存在 CLASSPATH,请检查配置是否正确.或者终端是否重新加载环境变量:source /etc/profile
重新加载环境变量后依旧不行
系统是:rocky9 mini
The text was updated successfully, but these errors were encountered: