Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed DrJava about a week ago. Its been working fine so far but I ran into an infinite loop and wanted a way to stop the program from running without having to force DrJava to quit. Is there a command or hot key that would enable me to do so?

share|improve this question
up vote 0 down vote accepted

To shut any command line program just type Ctrl+c. It will look like this on the command line : ^C

I think this is called the escape sequence.

EDIT I think you may be able to use Ctrl+D or ^D also

share|improve this answer

There is a "Reset" toolbar command to the right of compile. That will stop the running program in Dr. Java.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.