Running java command thru java program

Reply

Join Date: May 2006
Posts: 1
Reputation: smitamutha is an unknown quantity at this point 
Solved Threads: 0
smitamutha smitamutha is offline Offline
Newbie Poster

Running java command thru java program

 
0
  #1
May 17th, 2006
Hi All,

I want to run a java command thru java program.

Can any one tell me how can i do it.

Thanks ,
Smita
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,264
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 377
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: Running java command thru java program

 
0
  #2
May 17th, 2006
Originally Posted by smitamutha
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?
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1
Reputation: dasarilalitha is an unknown quantity at this point 
Solved Threads: 0
dasarilalitha dasarilalitha is offline Offline
Newbie Poster

Re: Running java command thru java program

 
0
  #3
May 17th, 2006
Originally Posted by smitamutha
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.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 353
Reputation: aniseed is an unknown quantity at this point 
Solved Threads: 6
aniseed's Avatar
aniseed aniseed is offline Offline
Posting Whiz

Re: Running java command thru java program

 
0
  #4
May 17th, 2006
Originally Posted by dasarilalitha
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,144
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Running java command thru java program

 
0
  #5
May 18th, 2006
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...
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 2
Reputation: marutiskutre has a little shameless behaviour in the past 
Solved Threads: 0
marutiskutre's Avatar
marutiskutre marutiskutre is offline Offline
Newbie Poster

Re: Running java command thru java program

 
0
  #6
Sep 10th, 2009
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC