Best Answer

I am also finding you can use this: System.out.println("\033");

I have checked it in Eclipse. Please check it in any other compiler/ IDE.

Sorry Doesn't work with my Java 6

Output -


/033 : Your slash is the wrong way around ("\033", not "/033").

User Avatar

Wiki User

โˆ™ 2010-10-14 20:40:38
This answer is:
User Avatar
Study guides


20 cards

The addition of the word google to dictionaries demonstrates that Google has been successful at what business strategies

A corporation gives out its profits as dividends paid to whom

Google's relaxed and non-traditional corporate culture is one aspect of which

Which of the following best describes the purpose of advertising

See all cards
1 Review

Add your answer:

Earn +20 pts
Q: How to clear dos screen in JAVA?
Write your answer...
Related questions

What is the DOS command applet?

There is nothing called DOS applet.. You can run Java applet from DOS..

What does the command CLS do in MS-DOS?

The command CLS clears the screen and resets the location of the command prompt to the top of the screen. This is similar to the Unix command clear.

Which of following is not computer hardware keyboard DOS Screen Modem?


What are the difference DOS command?

1) Type "date" + enter = display the date commend 2) Type "clr" + enter = clear the screen commend

When moving the laptop screen up and down more and more lines on screen?

no it dos not

What are the feauture's of a flat screen monitor?

the screen is not clear

How do you clear the Linux terminal screen?

With the clear command.

What is the command to clear thecommand window screen?


Do the clear screen protectors eventually damage the Nintendo DS screen?

No, in fact, the clear screen protectors help to prevent damage to the Nintendo DS screen.

How do you clear the screen in java program?

If you're working straight from the command line, then there's really no normal way to do this. The easiest way is to know how big the displayable window is and simply print out newlines until the whole window is "clear."

How do you get the DOS screen up?

In Windows, to bring up the DOS screen, simply go to the start menu, choose RUN, and enter CMD. You can also access the DOS screen from Windows during startup by hitting F8 during the boot process and choosing COMMAND PROMPT.

What Linux command blanks the screen?

clear clears the screen.

Why does not use pointer in java?

In Java Garbage Collection is present. Garbage collector job is to clear the space which is not in use.

Why do you have a black screen when you join a server in minecraft?

Maybe you don't have Java.

How do you get out of dos mode?

You have to just write there exit keyword.And if you have maxize screen of dos then u have to press alt+enter. Pooja

What screen do you use to clear all imds suspenses?


Why you are using clrscr in c language?

Function 'clrscr' is not part of the C language. Or the standard libraries. It is MS-DOS specific function, use the help for details (clrscr means clear the screen).

What dos a minim note look like?

its a stick with a clear circle

My runescape Private server DOS batch file won't open?

This may be because you have not either installed your java properly or you haven't set the PATH of your java properly or just simply your java is out of date and needs updating.

What is root directory?

Root directory is the highest level directory and this is the directory that appears first on the screen when you start MS-DOS. Generally, 'C' Drive appears on the MS-DOS screen as root directory.

How do you clear screen in java eclipse?

There is no way to clear the screen inJAVA. It seems that you are a beginner in Javaand just migrated from age old Turbo C.The reason because there is no clear screen is that you will never need it when you develop actual Javaprograms. Have you ever seen an application that clears it screen (apart from DOS based applications).When you develop an application for a client, you do not expect him/her to go through your clumsy console. The console is available only for debugging purposes or for learning the language. When you deploy your application, you always have an interface associated with it (like your own internet browser or any other window).So stop worrying about clearing the screen.Of course, you can still manually clear the screen of text by printing out enough blank lines to run all other text out of the terminal window.Most console windows will start of with about 25 lines of text, so something like the following should do what you want in most cases:for(int i = 0; i < 40; ++i) {System.out.println();}

Where can you get free touch screen Java games?

any where just type in google

Examples of dos command?

Some DOS commands are:backupcd for change directorycls for clear screencopydir for directoryeraseexitmd for make directoryren for rename

How do you clear screen lua?


What does the Type command do?

A DOS command that displays the contents of a .txt file on your screen.

People also asked

How do you clear screen in java eclipse?

View results