title: How to uninstall java from command line independent of version currently installed in machine?
body: <p>hi i have to write a command line to uninstall java where it get current version already installed in system ?(suppose one system having jre-6u29 where other having jre-7).But i want single command line to uninstall existing version.please help me. </p>