Posted January 6, 20169 yr My problem is when I am in eclipse and try to run the server or client in does not work her is what happens in the console: [21:16:05] [main/INFO] [GradleStart]: Extra: [] [21:16:05] [main/INFO] [GradleStart]: Running with arguments: [--tweakClass, cpw.mods.fml.common.launcher.FMLServerTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [21:16:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker [21:16:05] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker [21:16:05] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [21:16:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker [21:16:05] [main/INFO] [FML]: Forge Mod Loader version 7.10.18.1180 for Minecraft 1.7.10 loading [21:16:05] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_60, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jdk1.8.0_60\jre [21:16:05] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [21:16:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [21:16:05] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin [21:16:05] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [21:16:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [21:16:05] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [21:16:05] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [21:16:05] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [21:16:05] [main/ERROR] [LaunchWrapper]: Unable to launch java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901) ~[?:1.8.0_60] at java.util.ArrayList$Itr.remove(ArrayList.java:865) ~[?:1.8.0_60] at net.minecraft.launchwrapper.Launch.launch(Launch.java:117) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStartServer.main(Unknown Source) [start/:?] Java HotSpot 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
January 6, 20169 yr For one, you should be using 1.8, as 1.7.10 will be quite out of date in a few months. Secondly, how did you setup your workspace? I am not a cat. I know my profile picture is sexy and amazing beyond anything you could imagine but my cat like features only persist in my fierce eyes. I might be a cat.
January 7, 20169 yr Author Ok thank you will test when I get home. When decompiling should I use gradlew setupDecompWorkspace eclipse or graldew setupDevWorkspace eclipse
January 7, 20169 yr Author This is what I get when I try to decompile forge-1.8-11.14.4.1577 with gradlew setupDecompWorkspace eclipse ################################################# ForgeGradle 2.0-SNAPSHOT https://github.com/MinecraftForge/ForgeGradle ################################################# Powered by MCP 9.10 http://modcoderpack.com by: Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn, bspkrs ################################################# :deobfCompileDummyTask :deobfProvidedDummyTask :getVersionJson :extractUserdev Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8-11.14.4.1577/forge-1.8-11.14.4.1577.pom Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8-11.14.4.1577/forge-1.8-11.14.4.1577-userdev.jar :extractDependencyATs SKIPPED :extractMcpData Download http://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp/1.8/mcp-1.8-srg.zip :extractMcpMappings Download http://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_snapshot/20141130-1.8/mcp_snapshot-20141130-1.8.zip :genSrgs :downloadClient :downloadServer :splitServerJar :mergeJars :deobfMcSRG Applying SpecialSource... Applying Exceptor... :getFernFlower SKIPPED :decompileMc :fixMcSources :applySourcePatches :remapMcSources :recompileMc Download https://libraries.minecraft.net/java3d/vecmath/1.5.2/vecmath-1.5.2.pom Download https://repo1.maven.org/maven2/io/netty/netty-all/4.0.15.Final/netty-all-4.0.15.Final.pom Download https://repo1.maven.org/maven2/io/netty/netty-parent/4.0.15.Final/netty-parent-4.0.15.Final.pom Download https://libraries.minecraft.net/com/mojang/authlib/1.5.21/authlib-1.5.21.pom Download https://libraries.minecraft.net/com/mojang/realms/1.6.1/realms-1.6.1.pom Download https://libraries.minecraft.net/tv/twitch/twitch/6.5/twitch-6.5.pom Download https://repo1.maven.org/maven2/org/scala-lang/modules/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.pom Download https://libraries.minecraft.net/tv/twitch/twitch-platform/6.5/twitch-platform-6.5.pom Download https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.pom Download https://libraries.minecraft.net/java3d/vecmath/1.5.2/vecmath-1.5.2.jar Download https://repo1.maven.org/maven2/io/netty/netty-all/4.0.15.Final/netty-all-4.0.15.Final.jar Download https://libraries.minecraft.net/com/mojang/authlib/1.5.21/authlib-1.5.21.jar Download https://libraries.minecraft.net/com/mojang/realms/1.6.1/realms-1.6.1.jar Download https://libraries.minecraft.net/tv/twitch/twitch/6.5/twitch-6.5.jar Download https://repo1.maven.org/maven2/org/scala-lang/modules/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar Download https://libraries.minecraft.net/tv/twitch/twitch-platform/6.5/twitch-platform-6.5-natives-windows-32.jar Download https://libraries.minecraft.net/tv/twitch/twitch-platform/6.5/twitch-platform-6.5-natives-windows-64.jar Download https://libraries.minecraft.net/tv/twitch/twitch-platform/6.5/twitch-platform-6.5-natives-osx.jar Download https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar :recompileMc FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':recompileMc'. > Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Program Files\Java\jre1.8.0_66" * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 13 mins 32.155 secs
January 7, 20169 yr > Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Program Files\Java\jre1.8.0_66" You need to set the JAVA_HOME environment variable to the path of your JDK, not your JRE. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
January 7, 20169 yr Author I did I went to control panel-computer properties-advanced system settings-environmental variables-entered this in the path C:\Program Files\Java\jdk1.8.0_60\bin what am I doing wrong? I do have java jre 1.8.66 installed should I uninstall it? thank you
January 7, 20169 yr I did I went to control panel-computer properties-advanced system settings-environmental variables-entered this in the path C:\Program Files\Java\jdk1.8.0_60\bin what am I doing wrong? I do have java jre 1.8.66 installed should I uninstall it? thank you Don't set it to the JDK's bin directory, set it to the JDK directory itself (C:\Program Files\Java\jdk1.8.0_60). Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
January 7, 20169 yr Author It still doesn't work, it says the same build failed message. I used C:\Program Files\Java\jdk1.8.0_60 What is JAVA_HOME and how do I point it to the jdk?
January 7, 20169 yr It still doesn't work, it says the same build failed message. I used C:\Program Files\Java\jdk1.8.0_60 What is JAVA_HOME and how do I point it to the jdk? Do you have the JDK installed in that directory? JAVA_HOME is an environment variable that tells Gradle where to look for the Java compiler. You set it to the path of the JDK like you would any other environment variable. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
January 7, 20169 yr Author Yes, but I don't have anything pertaining to the jre in environment variable. Should I?
January 7, 20169 yr Yes, but I don't have anything pertaining to the jre in environment variable. Should I? The JRE is irrelevant in this case, there's no need to have it any environment variable. If JAVA_HOME is pointing to your JDK path and it's still not working, run gradlew setupDecompWorkspace again and post the new output. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
January 7, 20169 yr Author Ok, I will but I have to do it tomorrow because I have to wake up early for school tomorrow. I appreciate your help very much. Thanks Iceblu008
January 7, 20169 yr Author By searching JAVA_HOME there were a lot of posts woth this problem. I think I need to make a JAVA_HOME environment variable with my directory in it. I still have to test it though.
January 8, 20169 yr Author It worked I just had to create a new environment variable called JAVA_HOME with your location of java jdk
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.