I am trying to redirect the version output of Java on a computer. I run the
command:
java -version > test
The commandline will then print out the version of Java and "test" will have
nothing in it.
Is there some other way to capture the version? I am putting this in a
script to check if a computer needs a newer version of Java before a program
can be ran.
Thanks for the help.
Troy Davidson
Linux User #311107
++++++++++++++++++++++++++
Follow the adventures of a
real life computer and
gaming nerd!
www.clandaith.com
++++++++++++++++++++++++++
** This messages was composed on a 100% Microsoft free computer **
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com