Warning when creatng package for Gatling Enterprise with gatling 3.9.0 and Java 19

Hi,
I am able to run scala scripts but unable to create package with gatling 3.9

IntelliJ → Platform settings->
SDK → openjdk19
scala-sdk-2.13.10

seeing below error -

Type the number corresponding to your choice and press enter
[0]
[1] Run the Simulation locally
[2] Package and upload the Simulation to Gatling Enterprise Cloud, and run it there
[3] Package the Simulation for Gatling Enterprise
[4] Show help and exit
3

Currently running on unsupported Java version 19; Java code will be compiled with the ‘–release 17’ option
08:14:23.819 [WARN ] i.g.c.ZincCompiler$ - -target is deprecated: Use -release instead to compile against the correct platform API.

can someone please have look and suggest workaround. thanks

Regards,
Prad

Hi,

Currently running on unsupported Java version 19; Java code will be compiled with the ‘–release 17’ option

This is just a warning, not an error, because you’re not using an LTS (Long Term Support) Java version. Current LTS versions are 8, 11 and 17. The next one will be 21. Note: running on Gatling Cloud will be fine.

08:14:23.819 [WARN ] i.g.c.ZincCompiler$ - -target is deprecated: Use -release instead to compile against the correct platform API.

Again, this is a warning. And it’s already been fixed. Please UPGRADE to 3.9.2.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.