Issues Installing System Workbench for STM32 from Eclipse
Hi, I ran into this again today. Fortunately I reread these posts and realized what I had done.
A week or two ago I reordered my path so my JDK13 was above 8. I’ve had eclipse open since then but I restarted this morning and it gave that cryptic exception.
This time, I didn’t want to change my path again so I did something else. Here’s what worked for me.
Find where your eclipse.exe is. In the same directory, edit your eclipse.ini
Add the following TWO lines after editing to match your actual Java 8 path:
-vm
C:\Program Files\Java\jdk1.8.0_91\bin\javaw.exe
Make sure those are above the -vmargs line in the file. Apparently spaces are not a problem.
When eclipse boots, it will now use your JDK 8, instead of whatever is setup in your path.