mousePressed event throwing "Bad JNI lookup accessibilityHitTest" but program functions anyways

Hi, as the title says, my program works completely fine, its a really simple one. However, every time I click on the screen, there is a “Bad JNI lookup accessibilityHitTest” that gets thrown in console.

The exception thrown in “Exception in thread “AppKit Thread” java.lang.NoSuchMethodError: accessibilityHitTest”. Not sure how to fix this.

I wrote a way smaller piece of code that literally just draws a black background, and prints to console on the mousePressed() event but the error still happens.