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
Take the 2-minute tour
×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
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