# Error when launching gating and recorder

**URL:** <https://community.gatling.io/t/error-when-launching-gating-and-recorder/6583>\
**Category:** Gatling (Open-Source)\
**Created:** [March 16, 2022, 6:59am UTC](https://community.gatling.io/t/error-when-launching-gating-and-recorder/6583 "2022-03-16T06:59:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhouhuili2002](https://avatars.discourse-cdn.com/v4/letter/z/94ad74/32.png) [@zhouhuili2002](https://community.gatling.io/u/zhouhuili2002)\
**Post date:** [March 16, 2022, 6:59am UTC](https://community.gatling.io/t/error-when-launching-gating-and-recorder/6583/1 "2022-03-16T06:59:14Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [March 16, 2022, 7:15am UTC](https://community.gatling.io/t/error-when-launching-gating-and-recorder/6583/2 "2022-03-16T07:15:16Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![zhouhuili2002](https://avatars.discourse-cdn.com/v4/letter/z/94ad74/32.png) [@zhouhuili2002](https://community.gatling.io/u/zhouhuili2002)\
**Post date:** [March 16, 2022, 7:28am UTC](https://community.gatling.io/t/error-when-launching-gating-and-recorder/6583/3 "2022-03-16T07:28:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sbrevet](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/sbrevet/32/830_2.png) [@sbrevet](https://community.gatling.io/u/sbrevet)\
**Post date:** [March 16, 2022, 8:15am UTC](https://community.gatling.io/t/error-when-launching-gating-and-recorder/6583/4 "2022-03-16T08:15:55Z")

</div>

Hi!

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

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

```

(yep, both please)  
and then:

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

```

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

---

<div class="post-metadata">

**Author:** ![zhouhuili2002](https://avatars.discourse-cdn.com/v4/letter/z/94ad74/32.png) [@zhouhuili2002](https://community.gatling.io/u/zhouhuili2002)\
**Post date:** [March 16, 2022, 10:35am UTC](https://community.gatling.io/t/error-when-launching-gating-and-recorder/6583/5 "2022-03-16T10:35:28Z")

</div>

> “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

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [March 17, 2022, 1:07pm UTC](https://community.gatling.io/t/error-when-launching-gating-and-recorder/6583/6 "2022-03-17T13:07:23Z")

</div>

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