Hmmm...maybe that's the reason.  Maybe you have a .bashrc or something
which is messing with your path.

What if you run "bash" from the Windows Start Menu.  Then, within the bash
window, type "javac".  Does that work?  If not, then perhaps you have
bash-induced path problems.

I just thought of something else.  I don't know how the JDK installs
itself, but when you install Python it does some Windows (registry?) magic
so that the command "python" works even if the directory containing
python.exe isn't in your PATH.  However, this mechanism doesn't work from
Emacs, and you must explicitly set the correct PATH.  If the previous idea
doesn't pan out, then try this one (with respect to "javac", naturally, not
"python").

- Jonathan


At 06:19 PM 5/25/00 EDT, Daniel Hegyi wrote:
>I've tried. Still doesn't work. Actually, something weird happens that might 
>shed light on the problem: I click on compile in the JDE menu, which works 
>fine. Then I click on "Run App", which gives me the error "Searching for 
>program: no such file or directory, javaw". If I now click on "Compile" 
>again, it does so, but it opens simultaneously a DOS box, which says "javac" 
>in the title bar, and closes once the compilation finishes. The DOS box 
>itself contains no commands.
>
>It is also strange, because I've set bash to be my shell.
>
>
>
>>I see this message for other programs (grep, etc.), but the second time it
>>works.  Seems like some sort of list is getting built internally by emacs 
>>at
>>the first call and then is available the second call.  Have you tried just
>>running again?
>>
>> > -----Original Message-----
>> > From: Daniel Hegyi [mailto:[EMAIL PROTECTED]]
>> > Sent: Thursday, May 25, 2000 11:05 AM
>> > To: [EMAIL PROTECTED]
>> > Subject: "Searching for program: no such file or directory, javaw"
>> >
>> >
>> > Hi! I'm new to JDE. I just installed beta24 under Win98 with
>> > Emacs 20.6.1. I
>> > can compile, however, when I try to "Run App" I get the error: 
>>"Searching
>> > for program: no such file or directory, javaw"
>> >
>> > When I type "javaw" in a DOS box, it recognizes it. (It's in my path.)
>> >
>> > Does anybody have any ideas?
>> >
>> > Thanks,
>> > Daniel
>> > ________________________________________________________________________
>> > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>> >
>> >
>>
>
>________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>

Reply via email to