FAQ  •  Register  •  Login

Synology NAS Install: Java could not be located

<<

Sheldor73

Serviio newbie

Posts: 4

Joined: Thu Oct 27, 2011 7:11 pm

Location: Germany

Post Thu Oct 27, 2011 7:30 pm

Synology NAS Install: Java could not be located

Hi,

i tried to install serviio on my DS-211+ (DSM 3.2.1944). Following patters to-do-list:

1. activated user home services
2. activated web station
3. downloaded ejre-1_6_0_27-fcs-b07-linux-arm-sflt-eabi-headless-18_jul_2011.tar.gz and gcc421_glibc25_88f628x.tgz to the public folder
3. installed java 6 with java1.6.0_27-88f6281-v3.spk -> no error msgs. Java Embedded SE 6 is shown right next to my Squeezeboxserver as installed (although marked as stopped)
4. i have the youtube.groovy and the serviio0.6.0.1-88f6281-v3.spk in the public folder on the NAS
5. started the spk and then i get a msgbox "Java is not installed or not properly configured. Java binary could not be located..."

What am i doing wrong? Did i miss a step?

Thx for your help.
Chris
HP Microserver N40L with 4x2TB + 250GB HDD and WHS 2011.
<<

Sheldor73

Serviio newbie

Posts: 4

Joined: Thu Oct 27, 2011 7:11 pm

Location: Germany

Post Sat Oct 29, 2011 10:53 am

Re: Synology NAS Install: Java could not be located

wow. no reply at all? hmm... no one had this this problem before?
HP Microserver N40L with 4x2TB + 250GB HDD and WHS 2011.
<<

themix

Serviio newbie

Posts: 1

Joined: Sat Oct 29, 2011 11:29 am

Post Sat Oct 29, 2011 11:34 am

Re: Synology NAS Install: Java could not be located

I too am having exactly the same problem. I have followed the instructions to the letter but get the following error message when trying to run the java spk;

Java binary bundle not found. I was expecting the file /ejre-1_6_0_27-fcs-b07-linux-arm-sflt-eabi-headless-18_jul_2011.tar.gz.

The java 7 embedded download link (see below) does not work

java1.7.0-88f6281-v3.spk
http://dl.dropbox.com/u/1188556/blog/ja ... 281-v3.spk

Any help greatly appreciated. I too am installing on a DS211j running the latest DSM
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Mon Oct 31, 2011 3:58 pm

Re: Synology NAS Install: Java could not be located

I've fixed that broken link.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Mon Oct 31, 2011 5:10 pm

Re: Synology NAS Install: Java could not be located

Sheldor73 wrote:Hi,

i tried to install serviio on my DS-211+ (DSM 3.2.1944). Following patters to-do-list:

1. activated user home services
2. activated web station
3. downloaded ejre-1_6_0_27-fcs-b07-linux-arm-sflt-eabi-headless-18_jul_2011.tar.gz and gcc421_glibc25_88f628x.tgz to the public folder
3. installed java 6 with java1.6.0_27-88f6281-v3.spk -> no error msgs. Java Embedded SE 6 is shown right next to my Squeezeboxserver as installed (although marked as stopped)
4. i have the youtube.groovy and the serviio0.6.0.1-88f6281-v3.spk in the public folder on the NAS
5. started the spk and then i get a msgbox "Java is not installed or not properly configured. Java binary could not be located..."

What am i doing wrong? Did i miss a step?

Thx for your help.
Chris


What happens if you telnet/SSH into the NAS and run:
  Code:
echo $JAVA_HOME


It should show /volume1/@appstore/java

The Serviio spk install script checks to make sure that environment variable is not null, then also checks for the existence of the file $JAVA_HOME/bin/java

Did you try restarting the NAS after loading the Java package on? I don't think it's necessary, but worth a try.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

AustinSTI

Serviio newbie

Posts: 1

Joined: Sun Nov 06, 2011 12:01 am

Post Sun Nov 06, 2011 12:04 am

Re: Synology NAS Install: Java could not be located

Ok i have the same problem. On my NAS the java home is set correctly, but there is NO Bin directory...only a file called marker.

In fact there is no /volume1/@appstore/java directory. it's /volume1/@appstore/JAVA SE For Embedded with a file called marker.

What's the story?
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Mon Nov 07, 2011 1:14 am

Re: Synology NAS Install: Java could not be located

Hi, which version of the Java package and which DSM version please.
Can you try running:
  Code:
echo "/volume1/@appstore/Java SE for Embedded 7" | sed -r 's/(.*\@appstore).*$/\1\/java/'


This is the line in the install script which should give the folder it will copy Java to. The one with the long name should contain only the marker file. The long name is for the benefit of the Package Center GUI, but the actual java folder path shouldn't contain spaces, hence @appstore/java.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

plank10

Serviio newbie

Posts: 8

Joined: Thu Dec 30, 2010 12:46 pm

Post Sun Nov 20, 2011 1:10 am

Re: Synology NAS Install: Java could not be located

same problem here and this is the output


echo "/volume1/@appstore/Java SE for Embedded 7" | sed -r 's/(.*\@appstore).*$/\1\/java/'
/volume1/@appstore/java
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Mon Nov 21, 2011 6:19 pm

Re: Synology NAS Install: Java could not be located

Guys, new versions of the Java packages.
Remove the old version, then install via Package Center using the package repository http://pcloadletter.comlu.com, that way you'll get version update notifications.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!

Return to NAS installation

Who is online

Users browsing this forum: No registered users and 31 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.