This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 3013
    
  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.


Founder of ExamLab and Systemup
See how I can help you to become an awesome programmer
 
Don't get me started about those stupid light bulbs.
 
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