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