16 Apr
2003
16 Apr
'03
17:44
On Wed, 2003-04-16 at 15:30, Linux Aremania wrote:
hi list, I wanna make java application which call linux command, but I don't know how to call linux command. For example : I wanna display the output of "ps -ax" command in applet.
You can only do this in a trusted environment. If you're working in a corporate intranet or similar you need to set the clients to trust applets signed by you. Look at the documentation for java's security manager. A google search turns up many hits. Here's one http://www.securingjava.com/chapter-two/chapter-two-8.html