At 01:52 PM 11/2/99 -0500, you wrote:
>Paul -
>
>    I recently went back and tried to use NT XEmacs and JDE, and here is
what I've
>found...I still get the same errors described in this note, but I wanted
to let you
>know that I have been successful in running my application, using both
java and
>javaw, from within a bash shell...so what's the difference and does this
help you in
>any way to get jde-run to work properly under NT XEmacs?  I'd be glad to
send you
>any of the Lisp code I have...thanks!
>

The difference is that the JDE uses Emacs' start-process function to launch
Java 
applications, not a command shell. Both the NT/Emacs and NT XEmacs versions of
start-process use the Windows API function CreateProcess to run external
exec files (e.g., java.exe and javaw.exe). This function takes a
SHOW_WINDOW parameter
that controls whether Windows shows the window of the process that is
created. For Windows
GUI apps, you generally want to show the window. For command-line apps, you
generally
do not want to show a window. NT/Emacs, after a great deal of
trial-and-error, managed 
to expose this functionality to Emacs Lisp apps, e.g., the JDE, in the
right way.
I'm not sure that NT XEmacs has got it right, yet.

- Paul 

Reply via email to