Try the compiler Excelsior JET at
http://www.excelsior-usa.com/jet.html
They had a free and indefinite evaluation version with some limitations on compiling in java API classes. I haven't used it recently. Last code I compiled was used as a service in XP. They provide the wrapper required to create and run your java code as a service.