Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

IntelliJ + Gradle wont run client but will run server


Hirvio
 Share

Recommended Posts

My client wont start while the server starts just fine.

 

I set this up using Gradle and IntelliJ. no idea what to do, i tried most things i can think off :/

 

Error:

 

 

 

"C:\Program Files (x86)\Java\jdk1.7.0_21\bin\java" -Xincgc -Xmx1024M -Xms1024M "-Djava.library.path=E:/Minecraft Modding/gradle\build\natives" -Dfml.ignoreInvalidMinecraftCertificates=true -Didea.launcher.port=7536 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 13.0.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\deploy.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\javaws.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\jfr.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\jfxrt.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\management-agent.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\plugin.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\rt.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\ext\access-bridge-32.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\ext\jaccess.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\ext\localedata.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\ext\sunec.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\ext\sunmscapi.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\ext\sunpkcs11.jar;C:\Program Files (x86)\Java\jdk1.7.0_21\jre\lib\ext\zipfs.jar;E:\Minecraft Modding\gradle\out\production\gradle;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\net.minecraft\launchwrapper\1.9\jar\116f2aad5b0c68353ebed66cd463517db6522f7e\launchwrapper-1.9.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\org.ow2.asm\asm-debug-all\4.1\jar\dd6ba5c392d4102458494e29f54f70ac534ec2a2\asm-debug-all-4.1.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\org.scala-lang\scala-library\2.10.2\jar\6ba65d12cd09d441083262d6f73d2257fec7c663\scala-library-2.10.2.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\org.scala-lang\scala-compiler\2.10.2\jar\64c8b1380cc53d6850823d6e4e7ae984aa44ef9c\scala-compiler-2.10.2.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\net.sf.jopt-simple\jopt-simple\4.5\jar\6065cc95c661255349c1d0756657be17c29a4fd3\jopt-simple-4.5.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\java3d\vecmath\1.3.1\jar\a0ae4f51da409fa0c20fa0ca59e6bbc9413ae71d\vecmath-1.3.1.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\net.sf.trove4j\trove4j\3.0.3\jar\42ccaf4761f0dfdfa805c9e340d99a755907e2dd\trove4j-3.0.3.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\com.ibm.icu\icu4j-core-mojang\51.2\jar\63d216a9311cca6be337c1e458e587f99d382b84\icu4j-core-mojang-51.2.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\lzma\lzma\0.0.1\jar\521616dc7487b42bef0e803bd2fa3faf668101d7\lzma-0.0.1.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\com.paulscode\codecjorbis\20101023\jar\c73b5636faf089d9f00e8732a829577de25237ee\codecjorbis-20101023.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\com.paulscode\codecwav\20101023\jar\12f031cfe88fef5c1dd36c563c0a3a69bd7261da\codecwav-20101023.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\com.paulscode\libraryjavasound\20101123\jar\5c5e304366f75f9eaa2e8cca546a1fb6109348b3\libraryjavasound-20101123.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\com.paulscode\librarylwjglopenal\20100824\jar\73e80d0794c39665aec3f62eee88ca91676674ef\librarylwjglopenal-20100824.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\com.paulscode\soundsystem\20120107\jar\419c05fe9be71f792b2d76cfc9b67f1ed0fec7f6\soundsystem-20120107.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\io.netty\netty-all\4.0.10.Final\jar\9e50bd52ffe257a0e2cd8d971688d6ce7d174325\netty-all-4.0.10.Final.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\com.google.guava\guava\15.0\bundle\ed727a8d9f247e2050281cb083f1c77b09dcb5cd\guava-15.0.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\org.apache.commons\commons-lang3\3.1\jar\905075e6c80f206bbe6cf1e809d2caa69f420c76\commons-lang3-3.1.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\commons-io\commons-io\2.4\jar\b1b6ea3b7e4aa4f492509a4952029cd8e48019ad\commons-io-2.4.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\net.java.jinput\jinput\2.0.5\jar\39c7796b469a600f72380316f6b1f11db6c2c7c4\jinput-2.0.5.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\net.java.jutils\jutils\1.0.0\jar\e12fe1fda814bd348c1579329c86943d2cd3c6a6\jutils-1.0.0.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\com.google.code.gson\gson\2.2.4\jar\a60a5e993c98c864010053cb901b7eab25306568\gson-2.2.4.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\com.mojang\authlib\1.3\jar\4fb033c2d6eccced08752d8f33e8c3a0a45deb2d\authlib-1.3.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\org.apache.logging.log4j\log4j-api\2.0-beta9\jar\1dd66e68cccd907880229f9e2de1314bd13ff785\log4j-api-2.0-beta9.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\org.apache.logging.log4j\log4j-core\2.0-beta9\jar\678861ba1b2e1fccb594bb0ca03114bb05da9695\log4j-core-2.0-beta9.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\org.lwjgl.lwjgl\lwjgl\2.9.0\jar\5654d06e61a1bba7ae1e7f5233e1106be64c91cd\lwjgl-2.9.0.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\org.lwjgl.lwjgl\lwjgl_util\2.9.0\jar\a778846b64008fc7f48ead2377f034e547991699\lwjgl_util-2.9.0.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\org.lwjgl.lwjgl\lwjgl-platform\2.9.0\jar\2ba5dcb11048147f1a74eff2deb192c001321f77\lwjgl-platform-2.9.0-natives-linux.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\org.lwjgl.lwjgl\lwjgl-platform\2.9.0\jar\6621b382cb14cc409b041d8d72829156a87c31aa\lwjgl-platform-2.9.0-natives-osx.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\org.lwjgl.lwjgl\lwjgl-platform\2.9.0\jar\3f11873dc8e84c854ec7c5a8fd2e869f8aaef764\lwjgl-platform-2.9.0-natives-windows.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\net.java.jinput\jinput-platform\2.0.5\jar\7ff832a6eb9ab6a767f1ade2b548092d0fa64795\jinput-platform-2.0.5-natives-linux.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\net.java.jinput\jinput-platform\2.0.5\jar\53f9c919f34d2ca9de8c51fc4e1e8282029a9232\jinput-platform-2.0.5-natives-osx.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\net.java.jinput\jinput-platform\2.0.5\jar\385ee093e01f587f30ee1c8a2ee7d408fd732e16\jinput-platform-2.0.5-natives-windows.jar;C:\Users\Hirvio\.gradle\caches\artifacts-26\filestore\org.scala-lang\scala-reflect\2.10.2\jar\444ff8e89a81697997ed8a98a4642ba283130249\scala-reflect-2.10.2.jar;C:\Users\Hirvio\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.2-10.12.0.976\forge-1.7.2-10.12.0.976-mcp.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 13.0.1\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain net.minecraft.launchwrapper.Launch --version 1.6 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --username=Player1234
[23:45:50] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[23:45:50] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[23:45:50] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[23:45:50] [main/INFO]: Forge Mod Loader version 7.2.28.976 for Minecraft 1.7.2 loading
[23:45:50] [main/INFO]: Java is Java HotSpot(TM) Client VM, version 1.7.0_21, running on Windows 7:x86:6.1, installed at C:\Program Files (x86)\Java\jdk1.7.0_21\jre
[23:45:50] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[23:45:50] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[23:45:50] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[23:45:50] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[23:45:50] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[23:45:50] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[23:45:50] [main/ERROR]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[23:45:50] [main/ERROR]: The minecraft jar file:/C:/Users/Hirvio/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.976/forge-1.7.2-10.12.0.976-mcp.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
[23:45:50] [main/ERROR]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[23:45:50] [main/ERROR]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Hirvio/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.976/forge-1.7.2-10.12.0.976-mcp.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
[23:45:50] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing
[23:45:50] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[23:45:50] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[23:45:50] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[23:45:52] [main/ERROR]: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_21]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_21]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_21]
at java.lang.reflect.Method.invoke(Method.java:601) ~[?:1.7.0_21]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_21]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_21]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_21]
at java.lang.reflect.Method.invoke(Method.java:601) ~[?:1.7.0_21]
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) [idea_rt.jar:?]
Caused by: joptsimple.MissingRequiredOptionException: Missing required option(s) ['accessToken']
at joptsimple.OptionParser.ensureRequiredOptions(OptionParser.java:447) ~[OptionParser.class:?]
at joptsimple.OptionParser.parse(OptionParser.java:437) ~[OptionParser.class:?]
at net.minecraft.client.main.Main.main(Main.java:44) ~[Main.class:?]
... 11 more

Process finished with exit code 0

 

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Forge keeps on crashing every time I load it, with an error or exit code of 0. Without mods or with them it keeps on crashing. I'm on version 39.0.8. I tried updating to the current version of forge but that doesn't work either. So, if anyone that knows how to fix this issue please help.
    • Hello Everyone! I created a Minecraft Forge Server the other day, had no issues running it. (version 1.16.5) (vanilla) I updated my Java today, because I had a prompt on my desktop to update and I did. Now when I run the Bat file I get a sting of errors I am not too sure how to combat. I have read that Minecraft Forge only runs on certain versions of Java and I cannot find a source to resolve or change my Java version. Below is the string of errors in the cmd. Thank you for taking the time to read this!    C:\Users\Zenoh\Desktop\Minecraft Server LFG>java -Xmx4096M -Xms4096M -jar forgeserver.jar nogui 2022-01-23 16:55:45,757 main WARN Advanced terminal features are not available in this environment [16:55:45] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.23, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui] [16:55:45] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 17.0.1 by Eclipse Adoptium Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0xadd0edd) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0xadd0edd         at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java:41)         at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95)         at cpw.mods.modlauncher.SecureJarHandler.<clinit>(SecureJarHandler.java:41)         at cpw.mods.modlauncher.Launcher.lambda$new$6(Launcher.java:55)         at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)         at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:52)         at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:47)         at cpw.mods.modlauncher.Environment.computePropertyIfAbsent(Environment.java:62)         at cpw.mods.modlauncher.Launcher.<init>(Launcher.java:55)         at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)         at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)         at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)         at net.minecraftforge.server.ServerMain.main(ServerMain.java:57) C:\Users\Zenoh\Desktop\Minecraft Server LFG>PAUSE Press any key to continue . . .
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.