Re: ANOMALIES TRYING TO COMPILE JAVA CODE FROM WITH IN A RUNNING JAVA APPLICATION
- From: Raymond DeCampo <nospam@xxxxxxxxxxxx>
- Date: Thu, 28 Jul 2005 20:08:55 GMT
lbrtchx@xxxxxxxxxxx wrote:
// __ 5. BUT NO ERRROS ARE SHOWN WHEN YOU DO THE COMPILING FROM WITHIN A RUNNING JAVA APP CALLING as tried through (see code snippet above): ... aCmmnd = new String[]{"javac", "./test00.java"}; aOut = SEx.exec(aCmmnd); ... NO ERRORS ARE REPORTED
// __ 6. fixing the code will allowed for the compilation of the class
How do you get the errors from the compilation tried within a running JVM? lbrtchx@xxxxxxxxxxx <Albretch Muller>
It looks like you do not read from the standard error stream of the child process, only the standard output.
HTH, Ray
-- XML is the programmer's duct tape. .
- References:
- Prev by Date: Java install on Linux FC4 (Two very basic questions).
- Next by Date: Re: Java install on Linux FC4 (Two very basic questions).
- Previous by thread: ANOMALIES TRYING TO COMPILE JAVA CODE FROM WITH IN A RUNNING JAVA APPLICATION
- Next by thread: Java install on Linux FC4 (Two very basic questions).
- Index(es):