Unable to launch gatling and it fails with the following issue using JDK 14.0.2 or JDK 8 on a Mac | Ubuntu machine
./gatling.sh
GATLING_HOME is set to /Users/foo/work/software/gatling-charts-highcharts-bundle-3.6.1
Error occurred during initialization of VM
Multiple garbage collectors selected
Error occurred during initialization of VM
Multiple garbage collectors selected
Because you have set a JAVA_OPTS
env var that defines a garbage collector algorithm and it conflicts with the one set in gatling.sh
.
Edit one or the other to resolve the conflict.