Good evening everyone,
I tried to install Liberica 11 from their site (I also tried with 16) in Raspberry Pi 4b. I have read that the full JDK includes the JavaFX too to run UI applications in Raspberry Pi.
I failed big time. I followed the installation instructions as described here:
And here is what I get
Why is this happening (changing what to install)?
Edit - the code is from when I tried to install the Java 16.0.1 full JDK but failed with the same errors
I tried to install Liberica 11 from their site (I also tried with 16) in Raspberry Pi 4b. I have read that the full JDK includes the JavaFX too to run UI applications in Raspberry Pi.
I failed big time. I followed the installation instructions as described here:
Raspberry Pi B4J UI Applications with Liberica JDK
Tutorial Raspberry Pi B4J UI Applications with Liberica JDK v20180513 Objectives To build B4J UI applications, using the Liberica JDK10, running on the Raspberry Pi. This tutorial covers setup of the Raspberry Pi, Liberica, development hints and few sample applications. NOTE 20190406 Since...
www.b4x.com
And here is what I get
B4X:
pi@raspberrypi:~/Downloads $ sudo apt install ./bellsoft-jdk16.0.1+9-linux-aarch64-full.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'bellsoft-java16-full:arm64' instead of './bellsoft-jdk16.0.1+9-linux-aarch64-full.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
bellsoft-java16-full:arm64 : Depends: libasound2:arm64 but it is not installable
Depends: libc6:arm64 but it is not installable
Depends: libfreetype6:arm64 but it is not installable
Depends: libfontconfig1:arm64 but it is not installable
Depends: libx11-6:arm64 but it is not installable
Depends: libxau6:arm64 but it is not installable
Depends: libxcb1:arm64 but it is not installable
Depends: libxdmcp6:arm64 but it is not installable
Depends: libxext6:arm64 but it is not installable
Depends: libxi6:arm64 but it is not installable
Depends: libxrender1:arm64 but it is not installable
Depends: libxtst6:arm64 but it is not installable
Depends: zlib1g:arm64 but it is not installable
E: Unable to correct problems, you have held broken packages.
Why is this happening (changing what to install)?
Edit - the code is from when I tried to install the Java 16.0.1 full JDK but failed with the same errors
Last edited: