From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Using javac with Emacs Date: Fri, 18 Sep 2009 14:41:18 +0200 Message-ID: <68797E82-9D5A-41B3-8773-B7080B3F9014@Web.DE> References: <878wgcjyjk.fsf@student.ulg.ac.be> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1253281135 30665 80.91.229.12 (18 Sep 2009 13:38:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Sep 2009 13:38:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Merciadri Luca Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 18 15:38:48 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Modfi-0005ZA-HV for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 15:38:47 +0200 Original-Received: from localhost ([127.0.0.1]:57898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Modfi-00086h-40 for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 09:38:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MocmM-0006tO-KY for help-gnu-emacs@gnu.org; Fri, 18 Sep 2009 08:41:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MocmH-0006nI-FU for help-gnu-emacs@gnu.org; Fri, 18 Sep 2009 08:41:33 -0400 Original-Received: from [199.232.76.173] (port=43199 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MocmH-0006mq-BL for help-gnu-emacs@gnu.org; Fri, 18 Sep 2009 08:41:29 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:39590) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MocmG-00064K-UJ for help-gnu-emacs@gnu.org; Fri, 18 Sep 2009 08:41:29 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate03.web.de (Postfix) with ESMTP id C6B1011774330; Fri, 18 Sep 2009 14:41:26 +0200 (CEST) Original-Received: from [91.35.191.101] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (WEB.DE 4.110 #314) id 1MocmD-0005pT-00; Fri, 18 Sep 2009 14:41:25 +0200 In-Reply-To: <878wgcjyjk.fsf@student.ulg.ac.be> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/7xZNNjQpjW5JNIQ4H6XbQ8HO0VqQM8JN7k1Q3 YNLLWykFjzu1auAB0qgMRyfm3Mpa9N9+WlrYSWmbaplZUUAcga RnFLmsZuSPdDRK1wnMpQ== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:68266 Archived-At: Am 18.09.2009 um 13:13 schrieb Merciadri Luca: > It is even worse, as emacs > does not allow me to type the whole command, because it does not > recognize what "javac" is. However, it works using a terminal (and > thus without Emacs). How can I manage to make it work? It seems as if your "terminal" runs a login shell while GNU Emacs does not (in which interactive buffer, shell, eshell, term are you invoking javac?). You could compare the value of the environment variable PATH in both environments. So what you need to do is to change your shell setup to have in a "normal" shell at least the same value for PATH as in a login shell. -- Greetings Pete Basic, n.: A programming language. Related to certain social diseases in that those who have it will not admit it in polite company.