i had made CLASSPATH and PATH settings in RedHat Enterprise 5 version in the followed way in .bashrc file
export JAVA_HOME=/usr/jre1.7.0_10/
export PATH=$PATH:/usr/jre1.7.0_10/bin:
export CLASSPATH=$CLASSPATH:/usr/jre1.7.0_10/lib:
after setting i saved .bashrc and i did run the .bashrc in followed way.
[root@localhost ~]# sh .bashrc
[root@localhost ~]# java -version
After entering java -version i am getting followed error .Please tell me how to solve this error , why this error is coming when java -version command typed with reasons.
Error: dl failure on line 864
Error: failed /usr/jre1.7.0_10/lib/i386/client/libjvm.so, because /usr/jre1.7.0_10/lib/i386/client/libjvm.so: cannot restore segment prot after reloc: Permission denied.
ThankYou..
export JAVA_HOME=/usr/jre1.7.0_10/
export PATH=$PATH:/usr/jre1.7.0_10/bin:
export CLASSPATH=$CLASSPATH:/usr/jre1.7.0_10/lib:
after setting i saved .bashrc and i did run the .bashrc in followed way.
[root@localhost ~]# sh .bashrc
[root@localhost ~]# java -version
After entering java -version i am getting followed error .Please tell me how to solve this error , why this error is coming when java -version command typed with reasons.
Error: dl failure on line 864
Error: failed /usr/jre1.7.0_10/lib/i386/client/libjvm.so, because /usr/jre1.7.0_10/lib/i386/client/libjvm.so: cannot restore segment prot after reloc: Permission denied.
ThankYou..