aspose file tools*
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
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
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3274
    
  52

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: System.out.println - Output prefixed with "[java]" - How to exclude this prefix?