*Revision 1 or Revision 2 of the book? * 2nd *sudo apt install java-common* Works ! Thanks. BTW it installs "openjdk" ?
On Friday, September 4, 2020 at 3:42:26 PM UTC+2, RobertCNelson wrote: > > On Fri, Sep 4, 2020 at 7:59 AM Pavel Yermolenko <py....@sunrise.ch > <javascript:>> 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/fc78f793-160b-481c-9918-a19937b06530o%40googlegroups.com.