error java

Status
Resolved
Issue description

Details:
   Minecraft Version: 1.12.2
   Operating System: Windows 10 (amd64) version 10.0
   Java Version: 1.8.0_222, BellSoft
   Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), 
   Memory: 232864464 bytes (222 MB) / 367525888 bytes (350 MB) up to 1884815360 bytes (1797 MB)
   JVM Flags: 0 total; 
   IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
   FML: 
   Loaded coremods (and transformers): 
   Launched Version: 1.12.2
   LWJGL: 2.9.4
   OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
   GL Caps: 
   Using VBOs: Yes
   Is Modded: Definitely; Client brand changed to 'fml,forge'
   Type: Client (map_client.txt)
   Resource Packs: 
   Current Language: ~~ERROR~~ NullPointerException: null
   Profiler Position: N/A (disabled)
   CPU: <unknown>
11:19.45 [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\pc13\MCreatorWorkspaces\noob\run\.\crash-reports\crash-2019-11-10_11.19.45-client.txt
:runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Users\pc13\Desktop\MCreator191\jdk\bin\java.exe'' finished with non-zero exit value -1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 19s
13 actionable tasks: 7 executed, 6 up-to-date
C:\Users\pc13\MCreatorWorkspaces\noob>
Task completed with return code 0 in 19872 milliseconds

 

my PC is giving this error, this I bought, I had to download the version of minecraft BETA on minecraft.net and replace the java install is to use java of this minecraft BETA this is contained in every minecraft I install

me changing java in the year preference changes nothing

Issue comments

RuntimeException: No OpenGL context found in the current thread.

It seems your computer does not even hav OpenGL support. Try updating graphics card driver. If this does not help, you might be out of luck.