# Error: Could not find or load main class Files\\Java\\jdk1.8.0\_72\\bin;C:\\Program

**URL:** <https://community.gatling.io/t/error-could-not-find-or-load-main-class-files-java-jdk1-8-0-72-bin-c-program/2789>\
**Category:** Gatling (Open-Source)\
**Created:** [January 26, 2016, 11:19am UTC](https://community.gatling.io/t/error-could-not-find-or-load-main-class-files-java-jdk1-8-0-72-bin-c-program/2789 "2016-01-26T11:19:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SR1](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@SR1](https://community.gatling.io/u/SR1)\
**Post date:** [January 26, 2016, 11:19am UTC](https://community.gatling.io/t/error-could-not-find-or-load-main-class-files-java-jdk1-8-0-72-bin-c-program/2789/1 "2016-01-26T11:19:15Z")

</div>

I am trying to compile the following at commenad prompt and got the error below (highlighted in bold).

C:\Code\>CareID\_Devops\Performance\Gatling\run.bat gatling-charts-highcharts-2.1.3

C:\Code\>set gatlingScriptsPath=C:\Code\CareID\_Devops\Performance\Gatling\

C:\Code\>set GATLING\_HOME=gatling-charts-highcharts-2.1.3

C:\Code\>set JAVA\_OPTS=-Denv= -Dusers= -DrampUp= -Dduration= -Dpwd=C:\Code\CareID\_Devops\Performance\Gatling\

C:\Code\>if “” == “” (gatling-charts-highcharts-2.1.3\bin\gatling.bat -sf C:\Code\CareID\_Devops\Performance\Gatling\simulations -df C:\Code\CareID\_Devops\Performance\Gatling\data -bdf C:\Code\CareID\_Devops\Performance\Gatling\request-bodies ) else (gatling-charts-highcharts-2.1.3\bin\gatling.bat -sf C:\Code\CareID\_Devops\Performance\Gatling\simulations -df C:\Code\CareID\_Devops\Performance\Gatling\data -bdf C:\Code\CareID\_Devops\Performance\Gatling\request-bodies -s )  
GATLING\_HOME is set to “gatling-charts-highcharts-2.1.3”  
**Error: Could not find or load main class Files\Java\jdk1.8.0\_72\bin;C:\Program**  
Press any key to continue . . .

please help.
