is it possible to login into a linux machine from java program,and i want execute linux commands from my java program. i don't know wether this is the right place to post this question.
The Jakarta Commons Net library implements both Telnet and rexec/rcmd/rlogin, both of which allow you to log into a remote machine and issue commands on it. If you want something more secure, have a look at SSH, for which Java libraries are available as well.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.