A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Linux / UNIX
problem while running the command "jarsigner" on linux through Runtime.exec()
Joined: Jun 10, 2008
Apr 07, 2009 05:42:03
i was trying to run the "jarsigner " command through
code by using Runtime.exec() method on linux but i am getting the following exception
: "/home/user/Java/java-1.5.0-sun-1.5.0_update17/bin/jarsigner": not found
i am getting the above exception even though i am having the jarsigner tool in the above specified location. The environment variables are set correctly...
i am able to run the same command through command prompt of linux but was unable to run it through java code..
please give some suggestions
Thanks in advance
Joined: Jun 02, 2003
Apr 10, 2009 16:06:57
Show your javacode.
Which environment variables are you talkiing about?
I agree. Here's the link:
subject: problem while running the command "jarsigner" on linux through Runtime.exec()
Getting SSL handshake exception during hitting https request to an external server
Strange problem with Runtime.exec()
executing linux commands through java socket
problem while running "jarsigner" command on linux through Runtime.exec() method
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015