What's new

Entware Java Jdk 11 ASUS RT-AC86U

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

chavo

Regular Contributor
How run java on ASUS RT-AC86U

I found this solution

1) install entware
https://github.com/RMerl/asuswrt-merlin.ng/wiki/Entware

2) opkg install tar
3) download jdk

Code:
cd /opt/share
mkdir jdk
cd jdk
wget https://download.bell-sw.com/java/11.0.7+10/bellsoft-jdk11.0.7+10-linux-aarch64.tar.gz
tar -xf bellsoft-jdk11.0.7+10-linux-aarch64.tar.gz
cd jdk-11.0.7/bin/

4) run java

Code:
/opt/lib/ld-linux-aarch64.so.1  --library-path /opt/lib/ ./java -version

openjdk version "11.0.7" 2020-04-14 LTS
OpenJDK Runtime Environment (build 11.0.7+10-LTS)
OpenJDK 64-Bit Server VM (build 11.0.7+10-LTS, mixed mode)


PS if run ./java without library-path
./java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
 
Last edited:
Please change the Entware path to the system wide path instead of your personalized USB device path:
Code:
/opt
 
Maybe someone can explain why...?


Sent from my iPhone using Tapatalk
 
*It’ll?


Sent from my iPhone using Tapatalk
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top