Error running jMAVSim with SITL

Hello,

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 ARGS
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

make_dirs:

compile:

create_run_jar:

copy_res:

BUILD SUCCESSFUL
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 javax.media.j3d.JoglPipeline (rsrc:j3dcore.jar) to method sun.awt.AppContext.getAppContext()
WARNING: Please consider reporting this to the maintainers of javax.media.j3d.JoglPipeline
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(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:61)
Caused by: java.lang.InternalError: XXX0 profile[2]: GL2 → profileImpl GL3bc !!! not mapped
at com.jogamp.opengl.GLProfile.computeProfileMap(GLProfile.java:2098)
at com.jogamp.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1976)
at com.jogamp.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1895)
at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1861)
at com.jogamp.opengl.GLProfile.access$000(GLProfile.java:80)
at com.jogamp.opengl.GLProfile$1.run(GLProfile.java:239)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
at com.jogamp.opengl.GLProfile.initSingleton(GLProfile.java:225)
at com.jogamp.opengl.GLProfile.getProfileMap(GLProfile.java:2324)
at com.jogamp.opengl.GLProfile.get(GLProfile.java:1042)
at com.jogamp.opengl.GLProfile.get(GLProfile.java:1071)
at com.jogamp.opengl.GLProfile.getMaxFixedFunc(GLProfile.java:824)
at javax.media.j3d.JoglPipeline.initialize(JoglPipeline.java:131)
at javax.media.j3d.Pipeline.createPipeline(Pipeline.java:92)
at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:858)
at javax.media.j3d.VirtualUniverse.(VirtualUniverse.java:267)
at me.drton.jmavsim.Visualizer3D.(Visualizer3D.java:194)
at me.drton.jmavsim.Simulator.(Simulator.java:193)
at me.drton.jmavsim.Simulator.main(Simulator.java:944)
… 5 more