Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within GNU/Linux
Search Coderanch
Advanced search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Devaka Cooray
Tim Cooke
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Saloon Keepers:
Piet Souris
Bartenders:
Forum:
GNU/Linux
how to execute shell script from java program
charan sri
Greenhorn
Posts: 22
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Anyone plz letme know how can we execute shell script from a java program?
Thanks in advance,
Charan.
Keith Pitty
Ranch Hand
Posts: 32
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Have a look in the java.lang.Runtime class, specifically at the exec(String[]) method. This enables execution of a process within the underlying operating system.
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
issue when calling shell script from java
Callling a Script from a java program
how to get output string parameter from Java to shell script
How to generate PDF from Javadoc?
ftp files to a different server
More...