Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within GNU/Linux
Search Coderanch
Advance 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
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
GNU/Linux
System commands
Harish Kashyap
Ranch Hand
Posts: 118
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi
can anybody tell me how do i execute some linux command from within a
java
program.
thanx
Marcela Blei
Ranch Hand
Posts: 477
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Harish:
What is exactly what you want to do? It is not recommended to call OS commands directly from java code, because of the no platform dependence issue of java.
Bharatesh H Kakamari
Ranch Hand
Posts: 198
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You can use Runtime.exec command of Java.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Ant build with wsdl - Memory Out Of Space Error
Favourite movie chain...
noob needs help with path
Pattern to replace switch case with different funtionality in the case block
what design Pattern to use for this problem
More...