MutantWafflez Posted September 6, 2019 Posted September 6, 2019 (edited) So I have really been interested in joining the Minecraft Modding community, but I haven't been able to complete anything cause whether I'm in Eclipse or Intellij IDEA, one way or another Minecraft doesn't run. For this specific issue, I am using IntelliJ IDEA and I have imported the forge MDK for 1.14.2. I've run genIntellijRuns, that worked over fine, everything builds and compiles correctly, but when I try to RunClient, Minecraft never actually runs and gives the same Exception over and over again: "java.lang.IllegalStateException: GLFW error 65542: WGL: The driver does not appear to support OpenGL" I've tried everything I can think of. I've scoured several forum discussions, read through the EAQ several times slowly, haven't found anything, and more importantly I triple checked that all of my Drivers were up to date (and they have all been updated accordingly) and I still get the same error every single time. I have not made any change to the Files in MDK, everything is the same exact way as it was downloaded with the ExampleMod and everything, not a single thing has been changed, except for me running genIntellijRuns and RunClient several times. Here are the logs: Reveal hidden contents ---- Minecraft Crash Report ---- // Surprise! Haha. Well, this is awkward. Time: 9/6/19 9:54 AM Description: Initializing game java.lang.IllegalStateException: GLFW error 65542: WGL: The driver does not appear to support OpenGL at net.minecraft.client.MainWindow.throwExceptionForGlError(MainWindow.java:190) ~[forge-1.14.2-26.0.63_mapped_snapshot_20190621-1.14.2-recomp.jar:?] {pl:runtimedistcleaner:A} at org.lwjgl.glfw.GLFWErrorCallbackI.callback(GLFWErrorCallbackI.java:36) ~[lwjgl-glfw-3.2.1.jar:build 12] {} at org.lwjgl.system.JNI.invokePPPP(Native Method) ~[lwjgl-3.2.1.jar:build 12] {} at org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:1666) ~[lwjgl-glfw-3.2.1.jar:build 12] {} at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1847) ~[lwjgl-glfw-3.2.1.jar:build 12] {} at net.minecraft.client.MainWindow.<init>(MainWindow.java:85) ~[forge-1.14.2-26.0.63_mapped_snapshot_20190621-1.14.2-recomp.jar:?] {pl:runtimedistcleaner:A} at net.minecraft.client.renderer.VirtualScreen.create(VirtualScreen.java:27) ~[forge-1.14.2-26.0.63_mapped_snapshot_20190621-1.14.2-recomp.jar:?] {pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.init(Minecraft.java:435) ~[forge-1.14.2-26.0.63_mapped_snapshot_20190621-1.14.2-recomp.jar:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:365) ~[forge-1.14.2-26.0.63_mapped_snapshot_20190621-1.14.2-recomp.jar:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:127) ~[forge-1.14.2-26.0.63_mapped_snapshot_20190621-1.14.2-recomp.jar:?] {pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_221] {} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_221] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_221] {} at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_221] {} at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.14.2-26.0.63_mapped_snapshot_20190621-1.14.2-recomp.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-2.1.4.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-2.1.4.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68) [modlauncher-2.1.4.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:77) [modlauncher-2.1.4.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:62) [modlauncher-2.1.4.jar:?] {} at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:101) [forge-1.14.2-26.0.63_mapped_snapshot_20190621-1.14.2-recomp.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at net.minecraft.client.MainWindow.throwExceptionForGlError(MainWindow.java:190) at org.lwjgl.glfw.GLFWErrorCallbackI.callback(GLFWErrorCallbackI.java:36) at org.lwjgl.system.JNI.invokePPPP(Native Method) at org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:1666) at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1847) at net.minecraft.client.MainWindow.<init>(MainWindow.java:85) at net.minecraft.client.renderer.VirtualScreen.create(VirtualScreen.java:27) at net.minecraft.client.Minecraft.init(Minecraft.java:435) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:365) at net.minecraft.client.main.Main.main(Main.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68) at cpw.mods.modlauncher.Launcher.run(Launcher.java:77) at cpw.mods.modlauncher.Launcher.main(Launcher.java:62) at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:101) -- System Details -- Details: Minecraft Version: 1.14.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_221, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 321520248 bytes (306 MB) / 835190784 bytes (796 MB) up to 1879048192 bytes (1792 MB) JVM Flags: 1 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump FML: New FML! Loaded coremods (and transformers): Nothing Launched Version: MOD_DEV LWJGL: 3.2.1 build 12 OpenGL: NO CONTEXT GL Caps: Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'forge' Type: Client (map_client.txt) Resource Packs: Current Language: ~~ERROR~~ NullPointerException: null CPU: <unknown> > Task :runClient FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':runClient'. > Process 'command 'C:\Program Files\Java\jdk1.8.0_221\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 Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 2m 59s 6 actionable tasks: 4 executed, 2 up-to-date 09:54:48: Task execution finished 'runClient'. Edited September 6, 2019 by MutantWafflez Quote
Animefan8888 Posted September 6, 2019 Posted September 6, 2019 On 9/6/2019 at 5:24 PM, MutantWafflez said: 1.14.2 Expand First update to 1.14.4. If you are willing to use eclipse run "gradlew eclipse genEclipseRuns" then immediately "gradlew runClient" to see if it runs. Quote VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
MutantWafflez Posted September 6, 2019 Author Posted September 6, 2019 On 9/6/2019 at 6:30 PM, Animefan8888 said: First update to 1.14.4. If you are willing to use eclipse run "gradlew eclipse genEclipseRuns" then immediately "gradlew runClient" to see if it runs. Expand Alright I have updated to 1.14.4. I tried to use eclipse but that was crashing and causing problems and that's a whole other can of worms that isn't helping at the moment. So I stuck to IntelliJ if you don't mind, and I did the same thing I was doing before. Ran genIntelliJRuns and RunClient, and again, same exception occurred, here's the second log if it is any help to you: Reveal hidden contents Minecraft Crash Report ---- // Daisy, daisy... Time: 9/6/19 12:03 PM Description: Initializing game java.lang.IllegalStateException: GLFW error 65542: WGL: The driver does not appear to support OpenGL at net.minecraft.client.MainWindow.throwExceptionForGlError(MainWindow.java:197) ~[forge-1.14.4-28.0.93_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {pl:runtimedistcleaner:A} at org.lwjgl.glfw.GLFWErrorCallbackI.callback(GLFWErrorCallbackI.java:36) ~[lwjgl-glfw-3.2.2.jar:build 10] {} at org.lwjgl.system.JNI.invokePPPP(Native Method) ~[lwjgl-3.2.2.jar:build 10] {} at org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:1714) ~[lwjgl-glfw-3.2.2.jar:build 10] {} at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1897) ~[lwjgl-glfw-3.2.2.jar:build 10] {} at net.minecraft.client.MainWindow.<init>(MainWindow.java:81) ~[forge-1.14.4-28.0.93_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {pl:runtimedistcleaner:A} at net.minecraft.client.renderer.VirtualScreen.create(VirtualScreen.java:20) ~[forge-1.14.4-28.0.93_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.init(Minecraft.java:435) ~[forge-1.14.4-28.0.93_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:365) ~[forge-1.14.4-28.0.93_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:128) ~[forge-1.14.4-28.0.93_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_221] {} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_221] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_221] {} at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_221] {} at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.14.4-28.0.93_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-3.2.0.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-3.2.0.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68) [modlauncher-3.2.0.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:80) [modlauncher-3.2.0.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-3.2.0.jar:?] {} at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:101) [forge-1.14.4-28.0.93_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at net.minecraft.client.MainWindow.throwExceptionForGlError(MainWindow.java:197) at org.lwjgl.glfw.GLFWErrorCallbackI.callback(GLFWErrorCallbackI.java:36) at org.lwjgl.system.JNI.invokePPPP(Native Method) at org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:1714) at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1897) at net.minecraft.client.MainWindow.<init>(MainWindow.java:81) at net.minecraft.client.renderer.VirtualScreen.create(VirtualScreen.java:20) at net.minecraft.client.Minecraft.init(Minecraft.java:435) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:365) at net.minecraft.client.main.Main.main(Main.java:128) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68) at cpw.mods.modlauncher.Launcher.run(Launcher.java:80) at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:101) -- System Details -- Details: Minecraft Version: 1.14.4 Minecraft Version ID: 1.14.4 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_221, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 470101960 bytes (448 MB) / 853540864 bytes (814 MB) up to 1879048192 bytes (1792 MB) CPUs: 2 JVM Flags: 1 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump Launched Version: MOD_DEV LWJGL: 3.2.2 build 10 OpenGL: NO CONTEXT GL Caps: Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'forge' Type: Client (map_client.txt) Resource Packs: Current Language: ~~ERROR~~ NullPointerException: null CPU: <unknown> > Task :runClient FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':runClient'. > Process 'command 'C:\Program Files\Java\jdk1.8.0_221\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 Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 1m 47s 6 actionable tasks: 4 executed, 2 up-to-date 12:03:29: Task execution finished 'runClient'. Quote
Animefan8888 Posted September 6, 2019 Posted September 6, 2019 On 9/6/2019 at 7:06 PM, MutantWafflez said: Ran genIntelliJRuns and RunClient Expand That's not how you set it up with intellij idea. I dont have much experience with it, but I believe you have to treat it as a gradle project in idea. It downloads all the dependencies including opengl. Quote VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
MutantWafflez Posted September 6, 2019 Author Posted September 6, 2019 On 9/6/2019 at 10:20 PM, Animefan8888 said: It downloads all the dependencies including opengl. Expand Alright so I've tried all that I could, important all that I could, run all the Gradle tasks I could, and everything. So I took a long time troubleshooting with eclipse, and I finally got it working again, and I did what you told me earlier. I got a new instance of the 1.14.4 MDK, and I ran what you said "gradlew eclipse genEclipseRuns" then immediately after "gradlew runClient" I got the same exact exception, Driver still "does not appear to support OpenGL" Quote
DavidM Posted September 7, 2019 Posted September 7, 2019 (edited) Does your graphic card support the required OpenGL version? Edited September 7, 2019 by DavidM Quote Some tips: Reveal hidden contents Modder Support: Reveal hidden contents 1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code. 2. Always post your code. 3. Never copy and paste code. You won't learn anything from doing that. 4. Quote Programming via Eclipse's hotfixes will get you nowhere Expand 5. Learn to use your IDE, especially the debugger. 6. Quote The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it. Expand Support & Bug Reports: Reveal hidden contents 1. Read the EAQ before asking for help. Remember to provide the appropriate log(s). 2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.
MutantWafflez Posted September 7, 2019 Author Posted September 7, 2019 On 9/7/2019 at 12:33 AM, DavidM said: Does your graphic card support the required OpenGL version? Expand That's what I thought at first, it's really weird cause normal minecraft ran from the launcher works just fine, I never have any kind of errors with the normal minecraft launcher. I checked everything I could, my graphics card is pretty old but I strongly certain that It supports what is required. Awhile ago, I used to have a pixel format not accelerated issue, but that got fixed and replaced with this OpenGL issue. I just checked for the fourth time now and I can guarantee all my drivers are updated. If it's any help, my graphics card is simply named this: "Intel(R) HD Graphics" (that's all) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.