i have this error when im trying to run the simulate command :
java.lang.UnsatisfiedLinkError: no CTRE_PhoenixTools in java.library.path:
i am using the beta version 2 of wpilib
This is a known issue with WPILib v2025.1.1-beta-1. It is caused by the vscode java debug extension using a system jdk (not the WPILib one) with an old c++ runtime.
You can work around it by running ./gradlew simulateJava
in the vscode terminal, or make the debug extension use the WPILib jdk by adding the following to the project’s .vscode/settings.json
:
"java.configuration.runtimes": [
{
"name": "JavaSE-17",
"path": "c:\\Users\\Public\\wpilib\\2025\\jdk"
},
]
The next WPILib beta installer will add this to the global WPILib vscode config.
how can i add this to INTELIJI
Ah, you’re using IntelliJ. The solutions above won’t work for IntelliJ; You’ll need to configure the project JDK to be the WPILib jdk installed at C:\Users\Public\wpilib\2025\jdk
.
Do note that we do not officially support IntelliJ, the recommended IDE is the vscode packaged with the WPILib installer.
I’m facing the exact same situation except I’m on beta 1. I tried to change the JDK but it didn’t do anything
Update to Beta 2, and then see if it reproduces. A lot of changes happened there.
I’m using AdvantageKit and as far as I can see, there’s no version of AdvantageKit compatible with Beta 2 yet