"Java not found" AND "line 41: java: Permission denied"

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
PleasurePaulie
Posts: 2
Joined: 01 Sep 2015, 18:25

"Java not found" AND "line 41: java: Permission denied"

Post by PleasurePaulie »

Hi,

I'm using a Synology 213 and trying to use Firebot Node. I've installed Java 8 via these instructions:

http://pcloadletter.co.uk/2011/08/23/ja ... -synology/

Image

When I tried to run initially, I would get "Java not found" so tried to copy some scrips from this thread http://www.filebot.net/forums/viewtopic.php?f=13&t=2527 but now I'm getting the error "permission denied".

I'm n00b x100 with this scripting, so not really sure what I'm doing if anybody could help!
User avatar
rednoah
The Source
Posts: 23021
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: "Java not found" AND "line 41: java: Permission denied"

Post by rednoah »

I'm pretty sure I exhausted all my ideas about fixing path issues on this thread already :D
http://www.filebot.net/forums/viewtopic.php?f=13&t=2527

You could check the Synology forums for more help:
https://forum.synology.com/enu/

I remember wasting a full day on some "permission issue" that was really caused by being logged in as admin:users rather than admin:administrators which somehow doesn't allow the user to run executables.
:idea: Please read the FAQ and How to Request Help.
PleasurePaulie
Posts: 2
Joined: 01 Sep 2015, 18:25

Re: "Java not found" AND "line 41: java: Permission denied"

Post by PleasurePaulie »

Thanks for your reply.

I'm logged in as a full admin.

I don't know if I've copied the correct path code over... What should my code look like in terminal to make a symlink?

Sorry I'm not very good at this.
AandreP92
Posts: 3
Joined: 13 Dec 2015, 15:34

"Java not found" AND "line 41 java Permission denied"

Post by AandreP92 »

Just wondering I got 2 nas Ds213j and DS412, Im very interresting in having tomcat and java on DS213j like it is available on DS412.
Is it normal to not be available on bot harware ?

Thanks
User avatar
rednoah
The Source
Posts: 23021
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: "Java not found" AND "line 41: java: Permission denied"

Post by rednoah »

I'm sure Tomcat requires only Java to run, and Java 8 works perfectly on my DS213J so I'm sure it's possible. I can't help with the Synology Tomcat SPK though, but if that doesn't work I'd just SSH into the machine and set it up manually.
:idea: Please read the FAQ and How to Request Help.
Post Reply