This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes run sh file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "run sh file" Watch "run sh file" New topic
Author

run sh file

Evan Williams
Greenhorn

Joined: Feb 22, 2009
Posts: 1
I want to run an sh file through java How can I run this. Please help me.
Vinoth Thirunavukarasu
Ranch Hand

Joined: Dec 18, 2008
Posts: 164

We can Run that code just see this example
Example

Regards,
Vinoth.


Java Best Practices
Linux Best Practices
Amortization Calculator

Vinoth Thirunavukarasu
Ranch Hand

Joined: Dec 18, 2008
Posts: 164


I did the changes...
Sorry for my mistakes.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: run sh file
 
Similar Threads
Executing sh command from Java
autorestart tomcat
How to commit files in svn with ant task
java.io.Invalid Class Exception: javax.management. MBeanAttributeInfo
Commands n procedure RedHat9.0