SOLVED FreeNAS 11.1-U4 Jail Oracle JDK Port Build ELF Errors

Status
Not open for further replies.

kevanbrown

Dabbler
Joined
Mar 19, 2012
Messages
17
I'm running a Java-based application in a FreeNAS iocage jail. I've been experiencing some serious performance issues with OpenJDK, and the software vendor actually recommended that I not use OpenJDK but rather use the Oracle JDK. So this is the path I'm on.

I've enabled the linux_load tunable in FreeNAS and kldstat shows the proper modules are loaded.

However, when I attempt to build the port using the documentation on the FreeBSD web site (https://www.freebsd.org/java/ - Oracle JDK for Linux), I experience ELF errors during the build and the post-install script fails with both 'ELF binary type "3' not known" and 'ELF binary type "0" not known'.

Any idea how to work around these ELF binary errors?

Yes, I've considered just installing the software in a Bhyve Linux VM, however I much prefer jails for some things like this.
 

kevanbrown

Dabbler
Joined
Mar 19, 2012
Messages
17
Nevermind. While the linux_load tunable was set, and I had run kldload linux, I hadn't run kldload linux64. *sigh*
 
Status
Not open for further replies.
Top