On Fri, Sep 4, 2020 at 7:59 AM Pavel Yermolenko <[email protected]> wrote: > > Hello, > > According to the book Exploring BeagleBone (Derek Molloy), the instructions > to install java on BBB are as follows:
Revision 1 or Revision 2 of the book? > > debian@beaglebone:~$ sudo update-alternatives --install /usr/bin/java java > /opt/java-jdk/jdk1.8.0_261/bin/java 1 > debian@beaglebone:~$ sudo update-alternatives --install /usr/bin/javac javac > /opt/java-jdk/jdk1.8.0_261/bin/javac 1 > > Unless there was a typo, these commands don't work: java has not been > installed. > > Thanks. > > P.S. downloaded archive is unarchived in /opt/java-jdk sudo apt install java-common ? Ignoring "java 8", as that pre-dates Oracle merging their arm-32 branch directly into open-jdk.. So after java-8, openjdk is Oracle's java.. So unless you absolutely need Java 8, just look at openjdk.. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYjRdAVUBxiitehH8pdHZy_zTQ%2BhS4em-wXkMPtfDj8v_Q%40mail.gmail.com.
