libjvm专题

linux下jdk安装 failed /usr/local/jdk1.6.0_10/jre/lib/i386/client/libjvm.so, because /usr/local/jdk1.6.

今天在centos5.5下面安装jdk1.7后,运行java -version,没有出现相关的版本信息,而是出现了以下错误: Error: dl failure on line 863 Error: failed /home/yumh/software/jdk1.7.0_79/jre/lib/i386/server/libjvm.so, because /home/yumh/so

libjvm.so: cannot restore segment prot after reloc: 权限不够

/usr/local/jdk1.6.0_17/bin/../jre/lib/i386/client/libjvm.so: cannot restore segment prot after reloc: 权限不够 查看自己的jvm,eclipse都是有可执行权限的,网上找了下,据说是问题是安全级别和防火墙导致的,   解决办法:   注释#SELINUX=enforcing 添加SELINUX=d