
Hi i need to change the JDK path in linux server. I set the JDK path
export JAVAHOME=/usr/java/jdk1.5.007/bin/java
export PATH=$PATH:/usr/java/jdk1.5.0_07/bin
but when i check version using $java -version, it still shows old version.
should i reboot physical server to reflect the change?