I want to install openjfx8 (which is compatible with Java 8) on Ubuntu 19.04. This was available on Ubuntu 18.04, and I had installed as follows: (Refer: How do I get Java FX running with OpenJDK 8 on Ubuntu 18.04.2 LTS? - Stack Overflow)
sudo apt install openjfx=8u161-b12-1ubuntu2 libopenjfx-java=8u161-b12-1ubuntu2 libopenjfx-jni=8u161-b12-1ubuntu2 openjfx-source=8u161-b12-1ubuntu2
But in Ubuntu 19.04 these package are not available:
$ sudo apt-cache policy openjfx
openjfx:
Installed: (none)
Candidate: 11.0.2+1-1
Version table:
11.0.2+1-1 500
500 http://de.archive.ubuntu.com/ubuntu disco/universe amd64 Packages
How can I install the old package from Ubuntu 18.04 to 19.04?
Following example illustrates how to install a package not available in a particular version of Ubuntu but available in an older Ubuntu:
https://packages.ubuntu.com/bionic/arm64/openjfx/download
.deb http://de.archive.ubuntu.com/ubuntu/ bionic main universe
to/etc/apt/sources.list
sudo apt update
sudo apt install openjfx=8u161-b12-1ubuntu2 libopenjfx-jni=8u161-b12-1ubuntu2 libopenjfx-java=8u161-b12-1ubuntu2
apt-mark hold openjfx libopenjfx-jni libopenjfx-java
deb http://de.archive.ubuntu.com/ubuntu/ bionic main universe
from/etc/apt/sources.list
sudo apt update