Hi All,
I want to run a java command thru java program.
Can any one tell me how can i do it.
Thanks ,
Smita
Hi All,
I want to run a java command thru java program.
Can any one tell me how can i do it.
Thanks ,
Smita
Hi All,
I want to run a java command thru java program.
Can any one tell me how can i do it.
Thanks ,
Smita
You mean working with threads?
Hi All,
I want to run a java command thru java program.
Can any one tell me how can i do it.
Thanks ,
Smita
u can do this using a Runtime and Process classes.
u can do this using a Runtime and Process classes.
Though it sounds silly using Runtime class to execute another class rather than invoking it directly.
no use for Runtime (which seems to be WAY WAY overused by people in lue of native solutions that are a lot easier once you get your head around to you being working in Java rather than a scripting language). They're just Java classes...
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.