I have Installed JDK 7 on CentOS 32 bit virtual machine. I also have set the path for java. In one terminal it is showing java1.7 But when I open another terminal and look for, java -version It is showing java1.4 Need solution, Can anyone help me on this
That's just because you probably set the path for java using To make it permanent, you would have to add the |
|||
|
which java
andecho $PATH
on both shells, and attach the output – warl0ck Oct 8 '13 at 8:30