Results 1 to 1 of 1
- 03-08-2011, 11:06 AM #1
Member
- Join Date
- Aug 2007
- Posts
- 26
- Rep Power
- 0
Executing 'keytool' command from a java program
Hi,
When I run this
I get the correct output - same as what get displayed in a command prompt.Java Code:Process p = Runtime.getRuntime().exec("java");
But when I do the same for
I am not getting any response back.Java Code:Process p = Runtime.getRuntime().exec("keytool");
Is this the correct way of calling a keytool command from a java program?
Any inputs on this would be greatly appreciated.
Thanks
Similar Threads
-
Executing Command line commands from java - problem with deleting a file
By efebatistaarda in forum Advanced JavaReplies: 7Last Post: 02-10-2011, 07:37 PM -
executing JAVA from 'system' command
By DewPac in forum Advanced JavaReplies: 11Last Post: 10-20-2010, 09:03 AM -
executing linux command from Java not working.
By baozhi in forum Advanced JavaReplies: 2Last Post: 03-24-2010, 06:32 AM -
Executing external command through JSP
By rudranee in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 03-21-2009, 09:22 AM -
Executing an external java program
By arunsubramanian in forum Advanced JavaReplies: 5Last Post: 02-06-2009, 07:49 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks