Johannes Beekhuizen
5/14/2016 7:24:00 PM
Hallo Roedy,
Op 06 Jan 06 schreef Roedy Green aan All:
>> When "Greetings" does not exist, I would expect an IO exception. But I
>> get nothing. Why?
RG> You might possibly expect something if java.exe did not exist (use
RG> explicit extensions in Windows), but once that program fires up, it is
RG> a separate process, Any troubles it has, e.g. finding the Greetings
RG> class, all you are going to find out is by the return code.
OK, so I'll have to find out about retrieving the return code...
RG> I hope you are just experimenting. If all you want to do in run
RG> Greetings, just invoke method Greetings.main( new String [0] );
The idea is that this application will be able to start other applications
depending on the choice of the user. The "Greetings" is just used as an
example to get the mechanism correct. If you think there's a beter way to do
that, I won't mind if you tell me :)
Thanks for your help.
Groetjes,
Hans.