I didn't find any packages for java with ipkg, is there any chance to have java running on the drive?
I am interesting in install Java, someone can help us??
I would like to install serviio.
Did you get service at a run? or find java mbwe. thanks
I was looking to that and found no ipkg so I think you would need to install a static java package and configure by trial and error.
you could find an answer by following this link:
Howto install java on a NAS Device (a D-Link DNS-345) what i personally see as a highlight as i can now use software that was not available to me before. Oracle provides a “Java SE Embedded”, which is suitable for NAS devices thanks to its reduced memory footprint. For the following tutorial you need to have fun_plug installed!
Go to the Oracle Page and choose “ARMv5 Linux – Headless”. Now you will be redirected to a survey, where you have to enter Name, Prename, Mail, Organization and Role. Then you will receive the download-Link via E-Mail. Click on this Link and accept the license agreement.
Java SE Embedded
Copy the downloaded file (in my case its name was ejre-7u6-fcs-b24-linux-arm-sflt-headless-10_aug_2012.tar.gz, but that is subject to change) to the NAS. I’ve copied it to /mnt/HD/HD_a2/, please adapt the following commands if you copy it elsewhere.
First create a directory:
mkdir -p /ffp/opt/java
Then unpack the archive from before:
tar xvzf /mnt/HD/HD_a2/ejre-7u6-fcs-b24-linux-arm-sflt-headless-10_aug_2012.tar.gz
Now create a link to the unpacked directory (“ejre1.7.0_06″):
ln -s ejre1.7.0_06 jre
Now put it permanently into the environment variables:
echo "export PATH=/ffp/opt/java/jre/bin:\$PATH" » /ffp/etc/profile.d/java.sh
chmod a+x /ffp/etc/profile.d/java.sh
Logout and Login into the NAS.
Check if it works:
This should display something like this:
java version "1.7.0_06"
Java(TM) SE Embedded Runtime Environment (build 1.7.0_06-b24, headless)
Java HotSpot(TM) Embedded Client VM (build 23.2-b09, mixed mode)
I used it: Java is now implemented on my MBWE and run correctly. (take care to upload the well adapted version of the Java package based on your processor!)
I followed the tutorial above but I get this error when i run java version:
/etc/init.d # java -version Error: dl failure on line 863 Error: failed /opt/java/ejre1.7.0_60/lib/arm/client/libjvm.so, because /opt/java/ejre1.7.0_60/lib/arm/client/libjvm.so: symbol pthread_condattr_setclock, version GLIBC_2.4 not defined in file libpthread.so.0 with link time reference