Jan 17, 2006 #1 justride Programmer Jan 9, 2004 251 US Hi all, Are there any classes to make system calls? I would like to kill a certain processes that is running, can I do this with a pre-defined method? Thanks
Hi all, Are there any classes to make system calls? I would like to kill a certain processes that is running, can I do this with a pre-defined method? Thanks
Jan 17, 2006 #2 sedj Programmer Aug 6, 2002 5,610 Look into Runtime.exec() -------------------------------------------------- Free Java/J2EE Database Connection Pooling Software http://www.primrose.org.uk Upvote 0 Downvote
Look into Runtime.exec() -------------------------------------------------- Free Java/J2EE Database Connection Pooling Software http://www.primrose.org.uk
Jan 17, 2006 #3 timw Programmer May 3, 2000 1,264 GB Nope. I think you'll either need to use Runtime.getRuntime().exec() to run a command in your environment, or resort to using JNI to call the OS. Maybe there's some stuff out there to do what you're after. Maybe Google could help? Tim Upvote 0 Downvote
Nope. I think you'll either need to use Runtime.getRuntime().exec() to run a command in your environment, or resort to using JNI to call the OS. Maybe there's some stuff out there to do what you're after. Maybe Google could help? Tim
Jan 17, 2006 #4 timw Programmer May 3, 2000 1,264 GB Sedj, we're doing the "simultaneous reply" thing again Tim Upvote 0 Downvote
Jan 17, 2006 #5 chrissie1 Programmer Aug 12, 2002 4,517 BE nop , you were a minute slow there tim. Christiaan Baes Belgium "Time for a new sig." - Me Upvote 0 Downvote
Jan 17, 2006 #6 timw Programmer May 3, 2000 1,264 GB Close enough for me, my friend Tim Upvote 0 Downvote
Jan 17, 2006 Thread starter #7 justride Programmer Jan 9, 2004 251 US Thanks guys, I found some info on the Sun site with an example to guide me. Upvote 0 Downvote
Feb 2, 2006 #8 SoujanyaR Programmer Feb 1, 2006 8 IN hi Justride, I have a similar problem.. Could you please provide me with the solution that you found .. probably that would help me too.. Cheers, Soujanya.R Upvote 0 Downvote
hi Justride, I have a similar problem.. Could you please provide me with the solution that you found .. probably that would help me too.. Cheers, Soujanya.R
Feb 2, 2006 #9 Diancecht Programmer Jan 8, 2004 4,042 ES Maybe this: http://java.sun.com/developer/JDCTechTips/2003/tt0304.html Cheers, Dian Upvote 0 Downvote
Feb 2, 2006 Thread starter #10 justride Programmer Jan 9, 2004 251 US http://swforum.sun.com/jive/thread.jspa?threadID=53554&messageID=206221 Upvote 0 Downvote
Feb 2, 2006 Thread starter #11 justride Programmer Jan 9, 2004 251 US please disregard that link above, I posted it in the wrong thread. Upvote 0 Downvote