/bin/bash: jar: command not found
解决办法:
cd /usr/bin
必须先进入/usr/bin,下同
sudo ln -s -f /home/tim/software/jdk1.6.0_35/bin/jar
我的jdk是安装在/home/tim/software/jdk1.6.0_35/目录下的
如果提示javah:commond not found,于是照葫芦画瓢,输入命令
cd /usr/bin
ln -s -f /home/tim/software/jdk1.6.0_35/bin/javah
阅读(7299) | 评论(0) | 转发(0) |