A
Andreas Otto
Hi,
I want to write a java library able to spawn the Main class again.
For this feature I need the java executable and the "Main" class or
the jar file.
The executable is no problem because I get java.home from the properties.
The problem is the Main-Class-Name defined in "man java":
.... By default,the first non-option argument is the name of the class to be
invoked. ....
Question: HOWTO get the "Main-Class-Name" ?
mfg
Andreas Otto
I want to write a java library able to spawn the Main class again.
For this feature I need the java executable and the "Main" class or
the jar file.
The executable is no problem because I get java.home from the properties.
The problem is the Main-Class-Name defined in "man java":
.... By default,the first non-option argument is the name of the class to be
invoked. ....
Question: HOWTO get the "Main-Class-Name" ?
mfg
Andreas Otto