其他分享
首页 > 其他分享> > mac升级到bigsur后无法启动Nacos /Library/Internet: No such file or directory

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

作者:互联网

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

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

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

//注意自己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

 

 

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