Java error when trying to run Radio Configuration Utility

I keep getting a Java error when trying to launch the 2022 Radio Configuration Utility.

“Error: A JNI error has occurred, please check your installation and try again” and then
“A Java Exception has ocurred.”

I’ve never had this problem before. Java Runtime Environment is up to date. Any ideas?

1 Like

Do you have Java 11 or the wpilib tools installed on your machine? The kickoff release of the radio configuration tool was mistakenly built against a Java 11 target instead of Java 8, meaning Java 8 is no longer adequate to run it. All teams can install JRE 11 and it should work fine. C++/Java teams should already have JDK11 installed already from wpilib installer, or can use a different machine that does (or again, just install the JRE separately)

Thanks for the quick reply! We are a Labview team. I posted here because I figured Java people would know the most about Java.

Do you happen to know where I can find a JRE 11 installer? When I try to download it from Oracle, it wants me to have an account.

This is what WPILib uses: Adoptium - Open source, prebuilt OpenJDK binaries

Thanks! That worked.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.