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
4) run java
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
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: