Checked a few things, but still is not working.
PATHEXT environment is
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
Which is ok I think. I checked the path and there is only a java.exe, no java.bat, java.cmd, …
There is no “which” command, but an “where” command available. But both java and java.exe points to:
C:\ProgramData\Oracle\Java\javapath\java.exe
Which might be true or not - depending on how much you want to trust this ms where
I also just now tried it with powershell and there both the java and the java.exe call is working…
I was also thinking on what could cause that the opengl initialization is failing when just calling “java”, that might be different when calling “java.exe”. Maybe some security issue when accessing the lwgl.dll - but this would result in another error, or? or an old version of lwgl.dll? Because in my experience even when loading the 32bit .dll instead of the .64 would result in a different error…