Error while running make posix jmavsim

100%] Linking CXX executable …/…/px4
[100%] Built target px4
Scanning dependencies of target jmavsim
args: /home/yoni/Firmware/build/posix_sitl_default/px4 posix-configs/SITL/init/ekf2 none jmavsim none /home/yoni/Firmware /home/yoni/Firmware/build/posix_sitl_default
SITL ARGS
sitl_bin: /home/yoni/Firmware/build/posix_sitl_default/px4
rcS_dir: posix-configs/SITL/init/ekf2
debugger: none
program: jmavsim
model: none
src_path: /home/yoni/Firmware
build_path: /home/yoni/Firmware/build/posix_sitl_default
empty model, setting iris as default
SITL COMMAND: /home/yoni/Firmware/build/posix_sitl_default/px4 /home/yoni/Firmware /home/yoni/Firmware/posix-configs/SITL/init/ekf2/iris
data path: /home/yoni/Firmware
commands file: /home/yoni/Firmware/posix-configs/SITL/init/ekf2/iris


| ___ \ \ \ / / / |
| |/ / \ V / / /| |
| __/ / \ / /
| |
| | / /^\ \ ___ |
_| / / |_/

px4 starting.

Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar
Buildfile: /home/yoni/Firmware/Tools/jMAVSim/build.xml
INFO [dataman] Unknown restart, data manager file ‘rootfs/fs/microsd/dataman’ size is 11405132 bytes
INFO [simulator] Waiting for initial data on UDP port 14560. Please start the flight simulator to proceed…

make_dirs:

compile:

BUILD FAILED
/home/yoni/Firmware/Tools/jMAVSim/build.xml:35: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to “/usr/lib/jvm/java-8-openjdk-amd64/jre”

Total time: 0 seconds
Error: Unable to access jarfile jmavsim_run.jar
Error: Unable to access jarfile jmavsim_run.jar