From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Colin S. Miller" Newsgroups: gmane.emacs.help Subject: Re: Emacs\terminal window\Mac OS X 10.4.7 Date: Sun, 23 Jul 2006 14:27:17 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: <44c378ba$0$15782$14726298@news.sunsite.dk> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153662036 22521 80.91.229.2 (23 Jul 2006 13:40:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Jul 2006 13:40:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 23 15:40:35 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G4eC6-0007Xw-Db for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Jul 2006 15:40:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G4eC6-0006Xq-0d for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Jul 2006 09:40:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsserver.news.garr.it!kanaga.switch.ch!switch.ch!news.tele.dk!news.tele.dk!small.news.tele.dk!feed118.news.tele.dk!dotsrc.org!news.dotsrc.org!not-for-mail User-Agent: Thunderbird 1.5.0.2 (X11/20060516) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 45 Original-NNTP-Posting-Host: 62.56.85.223 Original-X-Trace: news.sunsite.dk DXC=T; meB\f\blZ@?1\co7LeeXYSB=nbEKnk[84^_6^4287XG1[Bg<0aH5P\VT\m5_SIbVU_42Df:PaKXTcL2h5ahoT_kF_>m>CYcV_iN5`DEjM?VVIDh^ZAE List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36174 Archived-At: Frank Murray wrote: > Hello, > > This is a newbie question. I am trying to compile a Java program in the > Emacs editor, using the command "M x compile." > > The key on my Mac keyboard is the key. When I enter the > above command it prints out to the screen "make -k." When I hit > , it comes > back with an error message stating: > > "make -k make > make: ***No rule to make target 'make' > > Compilation exited abnormally with code 2 at [whatever the day's date is]" > > Obviously I'm doing something wrong, or not giving the correct compile > instructions or commands. > > Any help is appreciated. Thank you. > > fjm > > The "make -k" is the command you want to run to build your program, this is correct if you are using makefiles to control the build. You can change this to any command you want - in your case (IIRC) jcc main.java The default build command can be set by adding to your .emacs file (setq compile-command "jcc main.java") HTH, Colin S. Miller -- Replace the obvious in my email address with the first three letters of the hostname to reply.