Just yesterday everything was working fine but today when running the refresh task to reimport my changes the console gave me this error Could not start 'C:\Dev\Java\jdk1.8.0_161\bin\java.exe': could not get std handle (errno 6) and I didn't find any clues after searching for iy but to no avail.
However it does work when I run IntelliJ as administrator(Also gradle works outside of intellij when run through the terminals commands). Does anyone know the specifics of this issue or if there are any other information I can provide to help?
Thank you for reading and sorry for wasting any time.
Some specs that I forgot to add
OS: Windows 10 Home 64Bit
Java: Oracle JDK 8 Update 161
IntelliJ Ver: 2017.3.4 Community