Java errors when uploading to Bluepill

I have a Bluepill I haven't looked at in a while. I found a sketch I saved in January named Blue_Pill_GenericSTM32F103_Blink.ino that blinks the onboard LED in a certain very obvious sequence and when I plug in this board the LED does exactly that so obviously I figured out how to program this thing back then.

It shows up on my computer as Maple Serial (COM26)
If I try to upload changes to this sketch by choosing...
Board:Generic STM32F103 Series
Upload method:STM32Duino bootloader
Port: COM26 (Maple Mini)

I get this error in Ardino IDE 1.8.9
C:\Users\dentaku\Documents\Arduino\hardware\Arduino_STM32/tools/win/maple_upload.bat COM26 2 1EAF:0003 C:\Users\dentaku\AppData\Local\Temp\arduino_build_495313/Blue_Pill_GenericSTM32F103_Blink.ino.bin

Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.

Has there been an update to the IDE between January and now that has caused these Java errors perhaps?

I ended up re-installing Java SE Runtime Environment and I just managed to install a sketch onto it.
I might have completely uninstalled Java sometime recently.