ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

mac升级到bigsur后无法启动Nacos /Library/Internet: No such file or directory

2020-12-22 15:01:42  阅读:232  来源: 互联网

标签:profile bigsur JAVA jdk Nacos PATH export Internet HOME


mac升级到bigsur后,nacos中startup.sh启动失败,日志显示

nohup: /Library/Internet: No such file or directory

mac自带了一个jdk,在.bash_profile声明自己安装的jdk的JAVA_HOME

  • vi ~/.bash_profile 
//注意自己jdk位置
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
PATH=$JAVA_HOME/bin:$PATH:.
CLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:.
export JAVA_HOME
export PATH
export CLASSPATH

 

  • 执行source ~/.bash_profile 生效

 

标签:profile,bigsur,JAVA,jdk,Nacos,PATH,export,Internet,HOME
来源: https://www.cnblogs.com/anakin/p/14173086.html

专注分享技术,共同学习,共同进步。侵权联系[admin#icode9.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有