Skip to main content



      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
Eclipse UserFriend
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] by 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
Eclipse UserFriend
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: Tue Jul 22 19:06:28 EDT 2025

Powered by FUDForum. Page generated in 0.04258 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top