java - Ambiguous output redirect on solaris -


i'm running java program on solaris , want redirect both standout , standerr log file while still keeping them in console.

here's command use:

java -jar myprogram.jar 2>&1 | tee build.log 

however, gives me following error:

ambiguous output redirect

use ksh or bash, (t)csh doesn't support syntax (and possibly not functionality)


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -