Then it appears that you’re running into an issue introduced by FreeNAS (the plugin) rather than MineOS.
FreeNAS isn’t something I’ve released, so I’m not altogether too familiar with where it puts things. Java going in /usr/local/openjdk8/
is an example, but more prominently, I don’t know where your MineOS scripts are, which are a different directory than your world files /var/games/minecraft
).
Perhaps the files are in /usr/local/games/minecraft
? At any rate, if node, nodejs
don’t bring up the node program, there’s another issue of FreeNAS’ conventions just something I’m not familiar with. One other thing, are you doing this in the jail or the host? The host probably doesn’t have these files.
Finding MineOS’ scripts is task one. In all of my tutorials, they are very clearly put in /usr/games/minecraft
or in the case of self-installed atop BSD, /usr/local/games/minecraft
. Since FreeNAS works on a plugin system, it very well could be choosing neither of the above, but that makes it no less important to know where FreeNAS (as a plugin system) puts it.
That said, node
or nodejs
would just help confirm the path; it’s not necessary to know, but probably pretty unambiguously helpful in figuring out what’s going wrong.
All hope is not lost, and that’s not to say that MineOS and Java 8 don’t work together (they do), but the problem we have in front of us is a barrier of knowledge with FreeNAS and its conventions.
Any of the following options are still valid, but whether you should pursue them is up to your level of familiarity; I’m guessing you’re pretty new to this stuff though, am I right?
option 1) _as the user from the webui, at the terminal, type which java
. Determine if this locates your appropriate Java 8. If not, you need to adjust your $PATH.
option 2) locate the java that is being invoked. If it’s a symlink, redirect that symlink to the java you know already exists. Looks like you already located this. It’s possible to have /usr/pbi/mineos-amd64/openjdk7/
just symlink (roughly) to /usr/local/openjdk8/
, but this is … potentially dangerous.
It could very well work, but FreeNAS will see a different Java than it expects (even if your Forge mods then work), so it could cause issues with the packaging system. Also, the symlink has to be from the binary to the binary, not just the paths, so it’s likely to look more like /usr/local/openjdk8/bin/java
…but I also couldn’t tell you for certain because I don’t know precisely what’s on your machine and how it was installed by the packaging system. So this is the most likely easy way to get it working, but it’s also the most error-prone option. So…
option 3) install MineOS on a BSD install that isn’t FreeNAS. You’ll have both the control of where files are put (and the wealth of knowledge of other people on this site to help you)
option 4) create a BSD Jail (but not one through the FreeNAS plugin system) and install it using the above instructions
option 5) install MineOS turnkey