We are trying to upgrade the travis configuration for https://github.com/dpkp/kafka-python to Xenial, but have not been successful so far. This is a python client project that tests against a java backend service (kafka). Some of the kafka versions we test against are quite old and require java 8 / will not work on java 11.
Any tips to get opendjk or oracle java installed? the simple ‘jdk:’ directive seems to be ignored because we are a non-java project. Trying to install oracle-java8-set-default via apt-get fails (untrusted 3rd party apt-get sources?).
Any tips?