delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/20/03:48:11

Date: Sun, 20 Jun 1999 10:44:07 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Ruth Baigent <ruth DOT baigent AT virgin DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: anyone used java with djgpp?
In-Reply-To: <7kbgbc$cad$1@nclient3-gui.server.virgin.net>
Message-ID: <Pine.SUN.3.91.990620104349.16821H-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 17 Jun 1999, Ruth Baigent wrote:

> The java app calls the DJGPP-compiled app.exe with a system call
> (System.exec("app.exe")).
> As I understand this function it should run the app "as if" from the DOS
> command line.

I don't have any idea what System.exec does.  What does the docs say?

> BUT the DJGPP app never exits, thus blocking the java app forever.  When run
> from the command line app.exe is fine.

Please give us some more information.  For example, does the DJGPP
program at all start?  If so, does it do its job, or stops in the
middle of it?

Adding some simple debugging print-outs might be a good way to find
answers to these questions.

Also, pressing Ctrl-BREAK after the DJGPP application is launched
should abort the DJGPP program and produce a crash traceback on the
terminal.  Running `symify' on that traceback would tell you where the
program is stuck; reporting that information, together with the
traceback, will probably shed some light on this mystery.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019