Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is some output in Eclipse console - red?

I have console output of different color in Eclipse: red and black.

What does the color mean in this context?

enter image description here

like image 910
Skip Avatar asked Oct 13 '15 15:10

Skip


People also ask

Why output is not showing in Eclipse?

If eclipse is not showing path, Please click on RUN-> Run configuration->click on environment tab->click on New-> add a path variable as mingw_path(if compiler is mingw in case of c++ ) and set value as C:\MinGw\bin (please check ur mingw bin path then only set). This question is not asking about how to add PATH.

How do I clear the output screen in Eclipse?

You can clear the console inside Eclipse using the 'Clear' command - it's accessible from the toolbar or the right-click menu...


1 Answers

If the console preferences settings are standard (in other words, you haven't made any changes), then red is for error

Black is Standard Out Text Color

This preference controls the color of text written to the standard output stream by an application.

Red is Standard Error Text Color

This preference controls the color of text written to the standard error stream by an application.

Docs

like image 175
sam Avatar answered Oct 04 '22 02:10

sam