Where in JAVA_HOME in Katalon Docker version?

Where in JAVA_HOME in Katalon Docker version?

Yeah, I am also interested in this. Does anyone know how to set the KATALON_JAVA_HOME when using the Katalon Docker version?

Thanks.

Why the need for this?
The docker image came with the right java version and everything else needed already set, why do you need to override it?

Anyway … you can set whatever environment variable when running a docker container by using --env or an environment file, see:

Hi @anon46315158 and thank you for your answer.

The problem is that for my test I’m using some libraries which are compile with java11 and the docker image runs with java1.8. There is noway I can dismiss the libraries or get compiled with java1.8

I will take a look to the docker run.
Thanks

Why do you want to do so?

You just don’t need to compile the libs with jdk8. You should be able to use the libs with jdk11.

JDK version inside a Container and JDK version outside it — these two are completely separated; nothing interdependent each other, isn’t it?

I suppose the OP is using this approach:
https://docs.katalon.com/docs/get-started/set-up-your-workspace/katalon-studio-preferences/set-a-new-default-jre-for-test-projects-in-katalon-studio

Therefore, the question is legit IMHO, there is not a clear hint into the documentation how to do it when running tests with the Docker image.

It is mentioned only what is needed for running with KRE at the verry bottom.

Hi bionel,
the approach describe using another Java Version for Katalon Headless on a Mac. But the (or my) problem is to do it for the Docker Container from https://hub.docker.com/r/katalonstudio/katalon
and there the approach does not work.
Is it possible to publish a docker image at docker hub with already installed Java 11 or 14?

why do you ask me?
i provided my thoughts already
i am not a katalon developer