Logstash start failed because of Could not load FFI Provider: (NotImplementedError) FFI not available

java.lang.IllegalStateException: Logstash stopped processing because of an error: (LoadError) Could not load FFI Provider: (NotImplementedError) FFI not available: java.lang.ClassCastException: java.nio.HeapByteBuffer cannot be cast to sun.nio.ch.DirectBuffer.
the last following Error accessing temp directory: "/tmp". I have add: LS_JAVA_OPTS="-Djava.io.tmpdir="/zxp/logstash-7.6.0\tmp"" to the file bin/logstash, but the Error change to Error accessing temp directory: "/zxp/logstash-7.6.0\tmp". need your help