Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Jeff Tanner
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 4260
227
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic