Optware / Optware-ng

280 stars 52 forks source link

opkg install error #145

Closed chenxue1 closed 8 years ago

chenxue1 commented 8 years ago

hi: all, i want to run openjdk on my router, and i found here. Then i download then openjdk arm V7 with hf and sf, and use the opkg to install the package, but it reports

alllexx88 commented 8 years ago

Hi,

You have to bootstrap the feed complitely: whatever you're running on your router that uses opkg (OpenWRT, probably?) isn't compatible with Optware-ng (I mean, you can't install Optware-ng packages with your router's opkg). Even if you install the package manually, or some other way bypassing install errors, it just won't plain work. Optware-ng resides under /opt, so it won't conflict with OpenWRT, which installs to /usr. To bootstrap, make sure that /opt is writable and has some free space to it, and then run

wget -O - http://ipkg.nslu2-linux.org/optware-ng/bootstrap/buildroot-armeabi-ng-bootstrap.sh | sh

After this, you'll be able to install Optware-ng openjdk8:

/opt/bin/ipkg update
/opt/bin/ipkg install openjdk8-jdk
alllexx88 commented 8 years ago

closing due to no response