This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3019
    
  35

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: System.out.println - Output prefixed with "[java]" - How to exclude this prefix?
 
Similar Threads
Matching words except those in tags with regex
String question
Arithmetic Compound Assignment Operators..
problem related to floats
redirect output to printer