Error running jMAVSim with SITL


I’m using QGroundControl and the PX4 environment for a school project (I have a PC using windows 11 if that helps at all) and JMAVsim worked for me until about a week ago. I am a novice at drone simulation, so I would really appreciate it if you could keep that in mind when offering suggestions and tips. Thank you all in advance for your help.

This is what I see after running “make px4_sitl_default jmavsim”
The simulation window doesn’t come up anymore and nothing happens:

[0/2] Re-checking globbed directories…
[0/1] cd /home/seniordesignii/PX4-Autopilot/build/px4_sitl… /home/seniordesignii/PX4-Autopilot/build/px4_sitl_default
sitl_bin: /home/seniordesignii/PX4-Autopilot/build/px4_sitl_default/bin/px4
debugger: none
src_path: /home/seniordesignii/PX4-Autopilot
build_path: /home/seniordesignii/PX4-Autopilot/build/px4_sitl_default
SITL COMMAND: “/home/seniordesignii/PX4-Autopilot/build/px4_sitl_default/bin/px4” “/home/seniordesignii/PX4-Autopilot/build/px4_sitl_default”/etc

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

px4 starting.

INFO [px4] startup script: /bin/sh etc/init.d-posix/rcS 0
INFO [init] found model autostart file as SYS_AUTOSTART=10016
INFO [param] selected parameter default file parameters.bson
INFO [param] importing from ‘parameters.bson’
INFO [parameters] BSON document size 278 bytes, decoded 278 bytes (INT32:11, FLOAT:3)
INFO [param] selected parameter backup file parameters_backup.bson
Buildfile: /home/seniordesignii/PX4-Autopilot/Tools/simulation/jmavsim/jMAVSim/build.xml





Total time: 0 seconds
INFO [dataman] data manager file ‘./dataman’ size is 7866640 bytes
Options parsed, starting Sim.
Starting GUI…
PX4 SIM HOST: localhost
INFO [simulator_mavlink] Waiting for simulator to accept connection on TCP port 4560
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by (rsrc:j3dcore.jar) to method sun.awt.AppContext.getAppContext()
WARNING: Please consider reporting this to the maintainers of
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Exception in thread “main” java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
at java.base/java.lang.reflect.Method.invoke(
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(
Caused by: java.lang.InternalError: XXX0 profile[2]: GL2 → profileImpl GL3bc !!! not mapped
at com.jogamp.opengl.GLProfile.computeProfileMap(
at com.jogamp.opengl.GLProfile.initProfilesForDeviceCritical(
at com.jogamp.opengl.GLProfile.initProfilesForDevice(
at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(
at com.jogamp.opengl.GLProfile.access$000(
at com.jogamp.opengl.GLProfile$
at java.base/
at com.jogamp.opengl.GLProfile.initSingleton(
at com.jogamp.opengl.GLProfile.getProfileMap(
at com.jogamp.opengl.GLProfile.get(
at com.jogamp.opengl.GLProfile.get(
at com.jogamp.opengl.GLProfile.getMaxFixedFunc(
at me.drton.jmavsim.Visualizer3D.(
at me.drton.jmavsim.Simulator.(
at me.drton.jmavsim.Simulator.main(
… 5 more