184.108.40.206 – December 3, 2011
JavaSvc is a native C++ Windows service for hosting a Java class/application in a Windows service context. JavaSvc uses JNI to host a Java VM and to provide the Windows service context for the Java application. JavaSvc is completely configurable via a .INI file to provide drag/drop installation. Sample .INI configurations for Minecraft and CraftBukkit are provided.
Changes for 220.127.116.11:
Added additional support for separate class for a shutdown plugin, required for
Bukkit plugins with Minecraft.
Added support for context class loaders — and will enumerate threads looking for
the specified class if the global FindClass() fails.
JavaSvc-18.104.22.168.zip MD5: 22fbae2a2f0339e33095e7c45c02f972
A minor update to JavaSvc has been released. This version eliminates the dependency on the MSVC redistributable runtime.
JavaSvc-22.214.171.124.zip MD5: e84210feb2ed2f4c472bb92d3bbffc54
JavaSvc is a native Java VM host which will register and run a Java class as a Windows service.
The primary motivation in developing this host was to provide an environment to host a Java based service in a restricted context (Network Service) rather than a common practice of using the active user’s interactive account. Using a system account provides a mitigation to the security concern of maintaining least-privilege for these Java based components.
After searching for solutions to simplify the configuration process for running a Java based service on Windows, I opted to develop my own solution as I didn’t find anything that was trivial to configure and copy/drag/drop to install.
JavaSvc-126.96.36.199.zip MD5: ddc13da6ce3e2e23fdde269677a071a0
Tags: Minecraft, Bukkit, Server, Java, Windows, Service