Error when launching gating and recorder

when launching recorder , got error as following
GATLING_HOME is set to “C:\gatling-charts-highcharts-bundle-3.7.6”
JAVA = ““C:\Program Files\Java\jdk-11.0.12\bin\java.exe””
Error: Could not find or load main class io.gatling.recorder.GatlingRecorder

When launching gatling, got message as following:
GATLING_HOME is set to “C:\gatling-charts-highcharts-bundle-3.7.6”
JAVA = ““C:\Program Files\Java\jdk-11.0.12\bin\java.exe””
Usage: java [options] [args…]
(to execute a class)
or java [options] -jar [args…]
(to execute a jar file)
or java [options] -m [/] [args…]
java [options] --module [/] [args…]
(to execute the main class in a module)
or java [options] [args]
(to execute a single source-file program)

Hi,

I’d say that your bundle is corrupted and wasn’t properly unzipped. Please try re-downloading it.

If it still doesn’t work, please explain your environment in detail, because as is, we can’t reproduce on our side.

Thanks for your prompt response. I tried to download and unzipo again, still same issue.
version: gatling-charts-highcharts-bundle-3.7.6
java: 11.0.12
OS: windows 10

Hi!

Can you open a console (<Win>+R then cmd )
And paste here the response to:

> C:\Program Files\Java\jdk-11.0.12\bin\java.exe -version
> java -version

(yep, both please)
and then:

> dir “C:\gatling-charts-highcharts-bundle-3.7.6”

@slandelle I found strange the double double quote for JAVA variable.

“C:\Program Files\Java\jdk-11.0.12\bin\java.exe” -version
java version “11.0.12” 2021-07-20 LTS
Java™ SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237)
Java HotSpot™ 64-Bit Server VM 18.9 (build 11.0.12+8-LTS-237, mixed mode)
== for above command, i have to put “” because there is space in the command

java -version
java version “11.0.12” 2021-07-20 LTS
Java™ SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237)
Java HotSpot™ 64-Bit Server VM 18.9 (build 11.0.12+8-LTS-237, mixed mode)

dir “C:\gatling-charts-highcharts-bundle-3.7.6”
Volume in drive C has no label.
Volume Serial Number is 64AF-5DA5

Directory of C:\gatling-charts-highcharts-bundle-3.7.6

16/03/2022 05:26 PM .
16/03/2022 05:26 PM …
16/03/2022 05:26 PM bin
16/03/2022 05:26 PM conf
16/03/2022 05:26 PM lib
03/03/2022 03:15 AM 11,367 LICENSE
03/03/2022 03:15 AM results
16/03/2022 05:26 PM user-files
1 File(s) 11,367 bytes
7 Dir(s) 3,909,586,944 bytes free

Sorry, we really can’t reproduce on our side.