Unable to run logstash 7.10 on custom java path

Hi ELK Gurus,
Need help- I was trying to run my logstash with customized JVM which is not happening. I set JAVA_HOME pointing to my custom path "/app/platform/java/" but logstash is running with default java 11 - "/usr/share/logstash/jdk/bin/java".
I am assuming I am missing some configuration, could you please help?

Please let me know if any questions