JAVA & FreeNAS (JRE1.6 & FreeNAS 8.0.1 RC-2)

  • Thread starter Athanasios Kakargias
  • Start date
Status
Not open for further replies.
A

Athanasios Kakargias

Guest
I was trying to install serviio v0.6 on FreeNAS 8.0.1 RC-2 using http://forums.freenas.org/showthread.php?1399-HOWTO-Install-Serviio-in-Freenas-8.0.1Beta4

So I
Code:
mount -urw /
pkg_add -v -r xtrans
pkg_add -v -r xproto
pkg_add -v -r xextproto
pkg_add -v -r javavmwrapper
pkg_add -v -r ffmpeg
pkg_add -v ~/diablo-jre-freebsd7.amd64.1.6.0.07.02


I had the following error after I installed diablo latte

Code:
Error occurred during initialization of VM
Unable to load ZIP library: /usr/local/diablo-jre1.6.0/lib/amd64/libzip.so


Seems there is some library ?bump? according to freebsd mailing list on jdk16
and apparently it works for jre too so you need

Code:
echo libz.so.4 libz.so.5 > /etc/libmap.conf




if you are running from usb like me you need also

Code:
cp /etc/local/javavm* /conf/base/etc/local/
echo libz.so.4 libz.so.5 > /conf/base/etc/libmap.conf
 
Status
Not open for further replies.
Top