I am writing scripts in BASH on a NW 6.5 SP6 system. I need to shell out a java call and get back the result so that I can parse it.

When I run these java commands either form the bash shell or console prompt, the output appears on the logger screen, but is not returned to the command interface in either case.

How can I get that output back to my bash script?