How to set java version for launchpad builder.

Asked by Taavi Türnpuu on 2020-07-21

How can i set which java version should launchpad task builder be using by default? I have both openjdk-8 and openjdk-11 installed. JAVA_HOME is set to use openjdk-8 but it is still using java 11.

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
2020-07-21
Last reply:
2020-07-21

Hi, Taavi.

You should do this type of configuration in your source branch, not on Launchpad itself.

Please, refer to Ubuntu Packaging Guide (https://packaging.ubuntu.com/html/).

You can also find some Java projects in Launchpad to get some examples. Here you have have one with some recipes and successful past builds that might: help: https://code.launchpad.net/~w-shackleton/patchworker/stable.

Can you help with this problem?

Provide an answer of your own, or ask Taavi Türnpuu for more information if necessary.

To post a message you must log in.