[Mono-dev] Debugging Win32Exception on Process.Start

Alex Shulgin alexander.shulgin at yessoftware.com
Tue May 19 11:10:59 EDT 2009

APS wrote:
> Hi,
> launching a java process with Process.Start I obtain an error like this:
> System.ComponentModel.Win32Exception: ApplicationName='"/usr/bin/java"', 
> CommandLine='-Xms20M -Xmx100M -Xincgc -jar "/home/monousr/myjar.jar" 
> param1 param2 param3 param4 "/home/monousr/"', CurrentDirectory=''
>   at System.Diagnostics.Process.Start_noshell 
> (System.Diagnostics.ProcessStartInfo startInfo, 
> System.Diagnostics.Process process) [0x00247]
>   at System.Diagnostics.Process.Start_common 
> (System.Diagnostics.ProcessStartInfo startInfo, 
> System.Diagnostics.Process process) [0x00096]
>   at System.Diagnostics.Process.Start () [0x0002c]
> Launching manually the same application with same params works. I would 
> like to understand how to solve the problem, how can I see the output of 
> the process or some log that explain better what is the problem? or you 
> already know what the problem could be?

May be it's extra quotation marks around /usr/bin/java?..


More information about the Mono-devel-list mailing list