Standalone-App initialization error

Am having trouble in starting Standalone Reference Application-2.10.0 on Linux os. Have followed this documentation but this error is thrown on the initialization process.

are you using java 8,if not try it and run again

java -version yields
openjdk version “1.8.0_272”
OpenJDK Runtime Environment (build 1.8.0_272-8u272-b10-0ubuntu1~18.04-b10)
OpenJDK 64-Bit Server VM (build 25.272-b10, mixed mode)

what does this command bring sudo sed -i -e ‘/^assistive_technologies=/s/^/#/’ /etc/java-*-openjdk/accessibility.properties

sed: -e expression #1, char 1: unknown command: `�’

try these two

  1. sudo apt-get remove openjdk-8-jre-headless

  2. sudo apt-get install openjdk-8-jre