jMAVSim installation

Hi all,

I’m on Ubuntu 18.04.2 LTS and new to PX4. To install it followed the instructions in the “Getting started” section on https://dev.px4.io/en/setup/building_px4.html. I got through the “Initial setup” and “Toolchain installation” sections succesfully but got stuck when performing

make posix jmavsim

as is suggested in the “Building the code” section in subsection " First Build (Using the jMAVSim Simulator)". The problem was I had not installed jmavsim yet, which I did next. For this I followed the instructions on https://github.com/PX4/jMAVSim, which worked until the part: “Create a standalone runnable JAR file with all libraries included, copy supporting resources, and use a shorter command to execute:”

ant create_run_jar copy_res

Which in my terminal returns:

Buildfile: build.xml does not exist!
Build failed

Unfortunately I am not an java or ant expert. Does anyone know what could be the cause of this?

Thank you in advance!