标签:
vim ~/.bash_profile
export MAVEN_HOME=/usr/local/apache-maven-3.3.3
export M2_HOME=$MAVEN_HOME
export JAVA_HOME=/usr/local/jdk1.8.0_65
export PATH=$JAVA_HOME/bin:$MAVEN_HOME/bin:$PATH:$HOME/bin
设置完重新进入,进行MAVEN 命令,提示:/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
在64系统里执行32位程序如果出现/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory,安装下glic即可
sudo yum install glibc.i686
标签:
原文地址:http://www.cnblogs.com/kisf/p/5095657.html