I have jdk installed, in /usr/lib/jvm/jdk1.8.0_212/
I wanna run Jmeter, but this finds java in
./jmeter: 128: [: Illegal number:
./jmeter: 192: ./jmeter: /usr/bin/java/bin/java: not found
env
shows this:
JAVA_HOME=/usr/bin/java
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/jdk1.8.0_212/bin:/usr/lib/jvm/jdk1.8.0_212/bin/java:/usr/bin/java"
/etc/environment
contains
JAVA_HOME="/usr/lib/jvm/jdk1.8.0_212"
'#' JRE_HOME=$JAVA_HOME/jre
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/jdk1.8.0_212/bin:/usr/lib/jvm/jdk1.8.0_212/bin/java:/usr/bin/java"
How can I fix?
Thanks.