Posted March 17, 20205 yr I'm developing a mod using JetBrain's IntelliJ, but I have somethings blocked on my company's network (Don't worry, I develop during lunch), but because of that, my build fails with a message saying that the build failed cause it could not validate the certificates for forge. It suggests I add the VM option "-Dnet.minecraftforge.gradle.test_certs=false", which I did add to my "runClient" configuration, but id did not change anything. Anyone can help?
March 17, 20205 yr Author This is the error: Build file '/home/diogo/Documents/mine-mods/ImprovedWolves/build.gradle' line: 11 A problem occurred evaluating root project 'ImprovedWolves'. > Failed to apply plugin [id 'net.minecraftforge.gradle'] > Failed to validate certificate for https://files.minecraftforge.net/maven/, Most likely cause is an outdated JDK. Try updating at https://adoptopenjdk.net/ To disable this check re-run with -Dnet.minecraftforge.gradle.test_certs=false (This mod is not mine, I'm working on it to learn how to mod, but I know it works because when I build it at home it works.) Edited March 17, 20205 yr by Animaleante Explanation
March 17, 20205 yr Author I'm using 1.8.0_241. I understand what the problem is, but the only thing I can do, given my network limitations, is skip tgese validations,as thos URLs are blocked.
March 17, 20205 yr Author It will make more calls to these urls after the validation? So there's no way to develop a mod if you don't have internet for example?
March 17, 20205 yr Author Oh, I did that already. I took the notebook home and download everything. Minecraft opened and the mod was working correctly. But by bringing the note with me to work, just trying to run it again gives me this error.
March 18, 20205 yr Author Okay...if I disable the internet adapter...it lets me build it offline no problem. Gonna do that. Thanks for the help @diesieben07
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.