【ubuntu java】java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
先检查了环境变量PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/java/jdk1.6.0_45/bin"
JAVA_HOME=/usr/java/jdk1.6.0_45
还是不对
按照这个设置了一遍 https://linux.cn/article-3792-1.html
还是不行
最后
http://blog.csdn.net/shenfuli/article/details/9532297
可以了