help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using javac with Emacs


From: Merciadri Luca
Subject: Re: Using javac with Emacs
Date: Fri, 18 Sep 2009 15:02:50 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> 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?).
Using M-x then typing "javac nameofmyfile". That's the same way as I
habitually do "make -B *.c", for example.

> You could compare the value of the environment
> variable PATH in both environments.
M-x then "echo" is not a recognized command. I think that M-x aims at
executing a limited set of (Emacs-)predefined commands. Am I right?
>
> 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.
Using ESC-!, I can type any shell command, but the output of
echo $PATH
is still the same as in a real terminal (but that is normal).

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkqzhPoACgkQM0LLzLt8Mhx8VQCfcdjLvkADOAQO+wDaNsCH8QNf
YXkAnjVBNGSP++G+ylnE1lQyRVdA4OdJ
=eeLw
-----END PGP SIGNATURE-----


reply via email to

[Prev in Thread] Current Thread [Next in Thread]