A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Java in General
System.out.println - Output prefixed with "[java]" - How to exclude this prefix?
Joined: Aug 09, 2010
Oct 10, 2012 17:44:28
I am writing a simple console application. When using
, it prefixes the console output with
. How can I avoid this from occurring?
System.out.println( "\n===============================" ); System.out.println( "= Hello World =" ); System.out.println( "===============================" );
[java] =============================== [java] = Hello World = [java] ===============================
Jeff in Seattle
Joined: Jul 29, 2008
Oct 10, 2012 18:21:57
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
or whatever the build script runs by your IDE.
Author of ExamLab (
) - the free mock exam kit for SCJP / OCPJP
How to Ask a Question
I agree. Here's the link:
- it saves me about five hours per week
subject: System.out.println - Output prefixed with "[java]" - How to exclude this prefix?
problem related to floats
redirect output to printer
Arithmetic Compound Assignment Operators..
Matching words except those in tags with regex
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013