Java -version displays older version on linux !!!!!!!?
Sunday, August 7th, 2011 at
05:15
Hi all
I installed java6 rpm on OpenSuse10.2 (which has java 1.5 by default). When using the java -version command, it displays that it has the version of 1.5. I changed all environment variables to refer to the newer java but nothing happens.
I’ll be glad if any body could help.
thanks in advance.
Tagged with: environment variables • java version • rpm • thanks in advance
Filed under: rpm
Like this post? Subscribe to my RSS feed and get loads more!
I’m not sure about Suse, but on Fedora, you can set defaults using /sbin/alternatives. If you look into this you might be able to fix it.