MinimServer Forum
can't find java on synology 213j - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: can't find java on synology 213j (/showthread.php?tid=774)

Pages: 1 2 3


RE: can't find java on synology 213j - charlesw - 17-09-2013 18:37

No go.
I've downloaded the soft float version as suggested, but the package installer says :
I was expecting the file /volume1/public/ejre-7u40-fcs-b43-linux-arm-vfp-hflt- client_headless-27_aug_2013.tar.gz.


RE: can't find java on synology 213j - simoncn - 17-09-2013 18:37

(17-09-2013 18:17)winxi Wrote:  I think that Java SE package from patters requires the hard-float version of Java for the DS213j.

I checked this in the package scripts on this page.

Here's the relevant section:

elif [ "${SYNO_CPU_ARCH}" == "armv7l" ]; then
JAVA_BINARY="ejre-7u21-fcs-b11-linux-arm-vfp-client_headless-04_apr_2013.tar.gz"
JAVA_BUILD="ARMv6/7 Linux - Headless EABI, VFP, SoftFP ABI, Little Endian"

This is using the soft-float version of Java.


RE: can't find java on synology 213j - simoncn - 17-09-2013 18:39

(17-09-2013 18:37)charlesw Wrote:  No go.
I've downloaded the soft float version as suggested, but the package installer says :
I was expecting the file /volume1/public/ejre-7u40-fcs-b43-linux-arm-vfp-hflt- client_headless-27_aug_2013.tar.gz.

That's interesting. It seems something has changed since the scripts on the web page were posted.

Which version of DSM are you using?


RE: can't find java on synology 213j - winxi - 17-09-2013 18:42

(17-09-2013 18:31)simoncn Wrote:  The DS213j armada370 version of MinimServer is built for soft float. Some DS213j users have been able to run this successfully, which seems to imply that Java also needs to be built for soft float.

Thanks, I've left a comment about this issue at patters blog referring to this thread. There are already a few other comments of DS213j users related to this issue. I think that the package will get a working update soon.


RE: can't find java on synology 213j - charlesw - 17-09-2013 18:49

Sorry to be a bit slow, I have to search a bit at each step. It's version 4.3-3776, but the DSM update offers to go to 4.3-3776-1 (even though it's brand new and updated iteself when I installed it at lunchtime today). I've told it to go ahead and install the update.


RE: can't find java on synology 213j - charlesw - 17-09-2013 19:01

No change with the updated DSM


RE: can't find java on synology 213j - winxi - 17-09-2013 19:45

(17-09-2013 18:49)charlesw Wrote:  Sorry to be a bit slow, I have to search a bit at each step. It's version 4.3-3776, but the DSM update offers to go to 4.3-3776-1 (even though it's brand new and updated iteself when I installed it at lunchtime today). I've told it to go ahead and install the update.

The DSM version is not related to this issue. You will have to wait till the Java package gets a working update.


RE: can't find java on synology 213j - simoncn - 17-09-2013 19:54

(17-09-2013 19:45)winxi Wrote:  The DSM version is not related to this issue. You will have to wait till the Java package gets a working update.

As a temporary workaround, you should be able to rename the soft-float .tar.gz file to the hard-float filename. This will allow it to be installed by the defective Java package.


RE: can't find java on synology 213j - winxi - 17-09-2013 20:05

(17-09-2013 18:37)simoncn Wrote:  I checked this in the package scripts on this page.

Here's the relevant section:

elif [ "${SYNO_CPU_ARCH}" == "armv7l" ]; then
JAVA_BINARY="ejre-7u21-fcs-b11-linux-arm-vfp-client_headless-04_apr_2013.tar.gz"
JAVA_BUILD="ARMv6/7 Linux - Headless EABI, VFP, SoftFP ABI, Little Endian"

This is using the soft-float version of Java.

This page doesn't show the scripts from the recent update of the package. The relevant section in the scripts from the recent update is
Code:
elif [ "${SYNO_CPU_ARCH}" == "armv7l" ]; then
    JAVA_BINARY="ejre-7u40-fcs-b43-linux-arm-vfp-hflt-client_headless-27_aug_2013.tar.gz"
    JAVA_BUILD="ARMv6/7 Linux - Headless - Client Compiler EABI, VFP, HardFP ABI, Little Endian"

Please try the suggestion from Simon by doing the following steps:

1) Remove the current *.tar.gz file from your public shared folder and uninstall the Java package and MinimServer

2) Download the file
Code:
ejre-7u40-fcs-b43-linux-arm-vfp-sflt-client_headless-27_aug_2013.tar.gz
and rename it to
Code:
ejre-7u40-fcs-b43-linux-arm-vfp-hflt-client_headless-27_aug_2013.tar.gz

3) Put the renamed file to the public folder and reinstall the Java package and MinimServer.

Thanks


RE: can't find java on synology 213j - charlesw - 17-09-2013 20:12

It works ! (renaming the Java tar.gz, starting minimserver and rebooting the NAS).
All my thanks to winxi and simoncn.
Charles