Skip to main content

executing programs

1 reply [Last post]
Joined: 2004-01-23

Hello, I've been having some ideas that I would like to test in java. I just don't know how, or where to look, to execute applications or getting currently running apps (in Linux).

this is mainly to create a kind of application launcher/task bar (maybe even system tray).

I know that it's prolly just a class (or a group of classes) that I am just missing, thanks for your help.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2004-05-20

You can use for example Runtime.getRuntime().exec("" );
I could ellaborate more but I'm no expert at such command and if you google for it you will find more detailed examples.