I wanted to install JOSM on old Mint (https://josm.openstreetmap.de/wiki/Download#Ubuntu). So I added file josm.list to sources.list.d containing one line:
deb https://josm.openstreetmap.de/apt trusty universe
# apt-get install josm
The following packages have unfulfilled dependencies: josm: Requires: openjdk-8-jre but can not be installed or java8-runtime but can not be installed
$ java -version java version "1.8.0_141" Java(TM) SE Runtime Environment (build 1.8.0_141-b15) Java HotSpot(TM) 64-Bit Server VM (build 25.141-b15, mixed mode)
I know it isn't latest 1.8.0_17x, but it is 1.8... What should I do to install josm?