permaculture playing cards
The moose likes Java in General and the fly likes System.out.println - Output prefixed with Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "System.out.println - Output prefixed with "[java]" - How to exclude this prefix?" Watch "System.out.println - Output prefixed with "[java]" - How to exclude this prefix?" New topic
Author

System.out.println - Output prefixed with "[java]" - How to exclude this prefix?

Jeff Tanner
Greenhorn

Joined: Aug 09, 2010
Posts: 6
Hi

I am writing a simple console application. When using System.out.println(), it prefixes the console output with "[java]". How can I avoid this from occurring?

Code:



Console Output:


Thanks

Jeff in Seattle

Devaka Cooray
ExamLab Creator
Sheriff

Joined: Jul 29, 2008
Posts: 3698
    
  87

Jeff Tanner wrote:How can I avoid this from occurring?


Simply shut the IDE and get to use with javac/java commands
In other words, such lines are so prefixed with Ant or whatever the build script runs by your IDE.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
 
Don't get me started about those stupid light bulbs.
 
subject: System.out.println - Output prefixed with "[java]" - How to exclude this prefix?
 
It's not a secret anymore!