Java class problem while opening STM32CubeIDE and trying to upload programs to MCU
- September 1, 2023
- 1 reply
- 3834 views
Hello, ever since I installed the IDE I have had an error message pop-up every time I open it (see attached imaged):
An internal error occurred during: "AutoRegisterSchemeHandlersJob".
Could not initialize class com.sun.jna.Native
As well as
An internal error occurred during: "Initializing External-tools".
Could not initialize class com.sun.jna.Native
At first I didn't think much of it since I could create and work on new projects without issue, however now that I need to upload the program I made to the MCU (STM32F303RE) I get an error relating to the same issue:
An internal error occurred during: "Launching PRACTICA0 Debug".
Could not initialize class com.sun.jna.Native
I have tried searching everywhere for a fix yet I could not find one, have already tried reinstalling the IDE, ST-LINK Drivers, even reinstalled Java as well as JDK, both at latest versions.I am currently using Windows 10 10.0.19045
