Maybe a little more details ?
Sounds like windows OS but not sure which version ?
What AV are you running ?
If you have AV did you try opening the IDE with the AV turned OFF ?
Which version of the IDE ?
Oh sure, I'm using Windows 10 Pro, If you mean virus program from AV, I use Defender. I turned off the AV and tried it, but I still have the same problem.
No, I do not receive a message, the reason for mentioning this is that I did some research and it was said that there is such a file that we should delete it.
I order to gather more information that might help us to troubleshoot your problem, I'm going to ask you to run the Arduino IDE from the command line, then share the output.
Please do this:
Start File Explorer (AKA Windows Explorer).
Open the Arduino IDE's installation folder (usually C:\Program Files (x86)\Arduino)
In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
Click “Open PowerShell window here” (or “Open command window here” if using Windows 7). PowerShell (or cmd if using Windows 7) will now open with the current directory set to the Arduino IDE installation folder.
Type .\arduino_debug
Press Enter. Debug output should now be printed to the PowerShell window as the Arduino IDE starts (or fails to start).
Wait for the Arduino IDE to finish starting, or failing to start.
Switch back to the PowerShell window if the Arduino IDE window took the focus.
Right click on the title bar of the PowerShell window.
Click Edit > Select All. This will select all the text in the PowerShell window.
Press Ctrl + C. This will copy the contents of the PowerShell window to the clipboard.
In this Arduino forum thread, click on the reply field.
Click the </> button on the forum toolbar. This will add the forum's ``` code block markup to your reply, making it easier for us to read.
Press Ctrl + V. This will paste the output between the ```.
I guess I could do whatever you want and here's the code that comes out:
PS C:\Program Files (x86)\Arduino> .\arduino_debug
Picked up _JAVA_OPTIONS: -Xmx3072M
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap
PS C:\Program Files (x86)\Arduino>