Hi,
I think that there is some problem with your Java Virtual Machine.
To solve your issue, I suggest you to uninstall Java from your system, reboot and then reinstall Java VM.
You can get Java on https://www.java.com/it/download/
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
Please let me know if that solves your issue.