TestProject Forum

InaccessibleObjectException when running the test example

I’m trying to learn the SDK. I followed thew tutorial on GitHub, and pasted the example program from there. When I try to run it, I get the following error message:

I can’t find anything that could be causing this. I tried compiling with Java 1.5, 15 and 16, the same error message on every occasion.

TestProject Java OpenSDK is built for Java 11.
It might work with newer versions but they are not officially supported.
Please use OpenJDK 11: Archived OpenJDK GA Releases

Thank you. This has solved my problem.

Excellent! Thanks for the update.