Page 1 of 1

Updating Java on SBC

Posted: Tue Sep 14, 2021 12:00 pm
by astrokeith
Just got my first SBC4. My biggest issue seems to be that is running Java 8, and I need 11.
I have tried apt install default-jre (& jdk), but the version stays at 8 and the configure options says I have no choices.
Any help gratefully received!

Re: Updating Java on SBC

Posted: Wed Sep 15, 2021 10:48 am
by burley
The SBC (at least until recently) runs a fairly old version of Debian so the package repository likely has out of date defaults. You can try searching for a newer version manually with apt-cache search or you can flash a new OS to your SBC. We just released support for Debian 11. You can download the new image file here as well as find instructions for flashing it:

https://www.phidgets.com/docs/OS_-_Phid ... to_SD_Card

Not sure if the default jdk is 11 there but it's more likely than your current version I suspect.

Re: Updating Java on SBC

Posted: Thu Sep 16, 2021 10:50 am
by Patrick
Yes, the new debian11 image includes Java 11.

-Patrick

Re: Updating Java on SBC

Posted: Sat Sep 18, 2021 3:53 am
by astrokeith
Thanks all, yes flashed the new OS, and all is well (with compiling at least!)
I have another problem, but will start a new thread.
Keith