Results 1 to 3 of 3
  1. #1
    rizowski is offline Member
    Join Date
    Nov 2010
    Rep Power

    Default Eclipse (Clear Console Command)

    Is there a command that would clear the console window in eclipse. I asked my teacher and explained the problem with the way eclipse is set up. But in the end i will be running my java program in a Jar file. I don't have any windows from the Jframe class. everything outputs into the Console window.

    I don't want to have to use sys.out.prntln(); for clearing the screen, because that will just push it up. I want it gone. Thanks :D

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power


    I know of no clear screen method for standard Java consoles. There are fancy consoles out there that are not part of core Java that do have this capability, but if you're going that far, you might as well use standard Java and create a simple GUI.

  3. #3
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Rep Power


    In the console window of my version of Eclipse (Galileo) there is a clear console button (near the stop button). This is not a programmatic way of clearing the console however.

Similar Threads

  1. Clear Screen in Console based programs
    By kirly in forum New To Java
    Replies: 5
    Last Post: 02-05-2009, 06:59 AM
  2. Replies: 1
    Last Post: 12-13-2008, 02:24 AM
  3. Eclipse underliying command
    By o1121 in forum Eclipse
    Replies: 2
    Last Post: 08-08-2007, 08:27 AM
  4. I want to do is clear the console
    By paul in forum Advanced Java
    Replies: 7
    Last Post: 08-03-2007, 07:54 PM
  5. Java Command Line Arguments In Eclipse IDE
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 05-19-2007, 10:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts