Hi All, I am usig Fedora 10. if I write java -version in terminal, it gives me java version. I want to write a shell script file to check whether the java version is greater than 1.5. The main problem is that I donot know how to assign the value of java -version command as to a variable of shell script.
How to create shell script file for that.
Thanks Sunil KUmar Sahoo