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

English Edit question
Launchpad itself Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thiago F. Pappacena (pappacena) said :

Hi, Taavi.

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

Please, refer to Ubuntu Packaging Guide (

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:

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.