I am currently using tinker cad at school and wanted to learn to use Arduino.
I installed arduino-1.8.13 and ran the shortcut.
it shows the splash and a message box reading this:
error :Could not create java virtual machine
error :A Fatal exception has occurred. Program will exit.
Steps I have taken to solve the issue
-installed the Microsoft store version
-installed the zip file for non admin install
-ran the direct exe
No matter what I did the same problem persists.
I tried using a batch file I found in a thread and got this in the cmd
Picked up _JAVA_OPTIONS: -Xmx4096M
Invalid maximum heap size: -Xmx4096M
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
one additional thing I read in another thread was there are supposed to be files in appdata>roaming and appdata>local but there were no files there(I am able to see hidden files). All files are in program files x86 >Arduino.
Thank you in advance