Skip to main content


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 08:21 Go to next message
Karsten Wutzke is currently offline Karsten WutzkeFriend
Messages: 124
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 08: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 09:21 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
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: Fri Mar 29 11:23:57 GMT 2024

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

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

Back to the top