Redirect Eclipse's console / ouput to a text file

15,426

Open Run Configurations window and add a new run configuration or edit an existing one. At the configuration tabs, go to Common tab. There you can specify a file to direct the output.

enter image description here

Share:
15,426

Related videos on Youtube

pratnala
Author by

pratnala

Know more

Updated on September 18, 2022

Comments

  • pratnala
    pratnala over 1 year

    I'm doing a Java project using Eclipse. Currently by default, it shows the output in the Console. Is there any way to redirect it into a text file?

    At least in python, I used to do

    python somefile.py >  output.txt
  • Martin
    Martin about 8 years
    Only works when you run a java application. And actually have a run configuration. What if you need the console output from the build itself.