Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Starting, Stopping and Querying services using Java

li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { list-style-type: decimal; } A Windows/Linux service could be stop and start using Java API. There are two version basically that do the job. Runtime class provides the old way to execute the OS commands that can be used for querying, stopping and starting the services. For Java 1.5 onward you can also make use of ProcessBuilder class that



This post first appeared on Instant Kick, please read the originial post: here

Share the post

Starting, Stopping and Querying services using Java

×

Subscribe to Instant Kick

Get updates delivered right to your inbox!

Thank you for your subscription

×