Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Win7: console output with System.out prints two newlines
Win7: console output with System.out prints two newlines [message #754176] Tue, 01 November 2011 04:21 Go to next message
Karsten Wutzke is currently offline Karsten Wutzke
Messages: 112
Registered: July 2009
Senior Member
Hello,

I've recently noticed that any output I print to the console via System.out.println will print two newlines instead of just one.

Does anyone know why this is happening? I presume it might have to do with Windows CR/LF, but I'm just guessing.

Can anyone help? How do I fix this? (I'm using Eclipse 3.7)

Thanks
Karsten

PS: I call System.out from within a webserver (JBoss AS 7)

[Updated on: Tue, 01 November 2011 04:45]

Report message to a moderator

Re: Win7: console output with System.out prints two newlines [message #754343 is a reply to message #754176] Wed, 02 November 2011 05:21 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 01.11.2011 09:21, Karsten Wutzke wrote:
> Hello,
>
> I've recently noticed that any output I print to the console via
> System.out.println will print two newlines instead of just one.
This works fine for me. I suspect a bug in how the console output is
routed from the web server to the console.

Dani
>
> Does anyone know why this is happening? I presume it might have to do
> with Windows CR/LF, but I'm just guessing.
>
> Can anyone help? How do I fix this?
>
> Thanks
> Karsten
>
> PS: I call System.out from within a webserver (JBoss AS 7)
Previous Topic:code storage online
Next Topic:Select or print from Type Hierarchy.
Goto Forum:
  


Current Time: Sat Aug 23 15:16:48 EDT 2014

Powered by FUDForum. Page generated in 0.08508 seconds