Can you run java on a NSA310S with entware-ng?
So I was wondering if it was possible to run jdownloader headless on my nas with entware-ng
https://support.jdownloader.org/Knowledgebase/Article/View/install-jdownloader-on-nas-and-embedded-devices/10
There is a armv5 java version for embeded devices
https://www.oracle.com/java/technologies/java-embedded-java-se-downloads.html
And someone is already running java on openwrt
https://github.com/josedelinux/openwrt-jdk
Also @Mijzelf on your repo page there is a subfolder for fw 4.80 in the 310S folder.
I'm on fw 4.75 and did not receive the OTA for fw 4.80. Is there any way of updating this manually?
All Replies
-
About Java, don't know. Just try it. If the jvm doesn't start, try
LD_LIBRARY_PATH=/opt/lib jvm
where jvm is the name of the binary, to tell the ld loader to use the Entware-ng libraries rather than the firmware ones.
About fw 4.80, I don't think it exists. The point is, the firmware package manager looks for packages in {PACKAGE_ROOT}/{NAS_VERSION}/{FIRMWARE_VERSION}/. MetaRepository can override that, but to install it I can only change {PACKAGE_ROOT} with the web_prefix file. So {NAS_VERSION}/{FIRMWARE_VERSION}/ has to exist, and contain all just MetaRepository. So there is actually only one directory (NSA310/4.40, when I'm not mistaken), with symlinks 4.50, 4.70, … to 4.40, and symlinks NSA320, NSA320, … to NSA310. So to let a '325 with firmware 4.80 install MR, I provide a directory 4.80 for all boxes.
0 -
I suppose I need to install java first. How do I do that? There is no opkg for armv5
0 -
'Installing' is no more than putting the files on the right place. Can't see what is inside the tarball, as I need an Oracle account to download it, but I suppose it contains a bin directory, a lib directory and so on. Put the files in /opt/bin, /opt/lib and so on. Maybe some environment variable is needed to make java able to find it's files. It expects them for instance in /share/java, but that becomes /opt/share/java, because /share/java is not writable or volatile. But I suppose there is a readme in the tarball which tells so.
0 -
Going to try that, thx
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 147 Nebula Ideas
- 96 Nebula Status and Incidents
- 5.7K Security
- 262 USG FLEX H Series
- 271 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.4K Consumer Product
- 249 Service & License
- 387 News and Release
- 84 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.5K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 73 Security Highlight