Couldn't run even a Basic Simulation

Hello, I’m using Gatling 2.3.1 with Java 8. Gatling recorder worked for me perfectly, but I can’t run gatling neither with recorded script nor with basic simulation. I get an error.

GATLING_HOME is set to /opt/gatling-charts-highcharts-bundle-2.3.1
There is no simulation script. Please check that your scripts are in user-files/simulations

echo $JAVA_HOME returns me /usr/lib/jvm/java-1.8.0-openjdk-amd64/bin - I’ve set it so

I’ve also set memory heap to 2G

my gatling.sh config:

if [ -n “$JAVA_HOME” ]; then

JAVA="$JAVA_HOME"/java

else

JAVA="/usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java"

fi

OLDDIR=pwd

BIN_DIR=dirname $0

cd “${BIN_DIR}/…” && DEFAULT_GATLING_HOME=pwd && cd “${OLDDIR}”

GATLING_HOME="${GATLING_HOME:=${DEFAULT_GATLING_HOME}}"

GATLING_CONF="${GATLING_CONF:=$GATLING_HOME/conf}"

export GATLING_HOME GATLING_CONF

echo “GATLING_HOME is set to ${GATLING_HOME}”

DEFAULT_JAVA_OPTS="-server"

DEFAULT_JAVA_OPTS="${DEFAULT_JAVA_OPTS} -Xmx2G"

DEFAULT_JAVA_OPTS="${DEFAULT_JAVA_OPTS} -XX:+UseG1GC -XX:MaxGCPauseMillis=30 -XX:G1HeapRegionSize=16m -XX:InitiatingHeapOccupancyPercent=75 -XX:+ParallelRefProcEnabled"

DEFAULT_JAVA_OPTS="${DEFAULT_JAVA_OPTS} -XX:+PerfDisableSharedMem -XX:+AggressiveOpts -XX:+OptimizeStringConcat"

DEFAULT_JAVA_OPTS="${DEFAULT_JAVA_OPTS} -XX:+HeapDumpOnOutOfMemoryError"

DEFAULT_JAVA_OPTS="${DEFAULT_JAVA_OPTS} -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false"

COMPILER_OPTS="-Xss100M $DEFAULT_JAVA_OPTS $JAVA_OPTS"

Setup classpaths

COMMON_CLASSPATH="$GATLING_CONF:${JAVA_CLASSPATH}"

COMPILER_CLASSPATH="$GATLING_HOME/lib/zinc/*:$COMMON_CLASSPATH"

GATLING_CLASSPATH="$GATLING_HOME/lib/*:$GATLING_HOME/user-files:$COMMON_CLASSPATH"

Structure of my gatling directory - here’re the files:

Your .scala files should be at user-files/simulations

So they’re there.What’s the problem then?