Clara and I run Minecraft on our home FreeBSD server inside a jail, which keeps Java and other dependencies contained in one place. Although I haven't yet tested it, the idea is that it is possible to run the server in any location that Java is supported, including Linux, NetBSD