Jump to content

todanielchow

Members
  • Posts

    4
  • Joined

  • Last visited

todanielchow's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Ok ran into a slight roadblock when opening Eclipse for the first time. I downloaded Eclipse IDE for Java Developers It couldn't find JRE or JDK Java Virtual Machine So I changed the eclipse.ini file to point to the JRE \bin folder as so: -vm C:\Program Files\Java\jre1.8.0_151\bin --C:\Program Files\Java\jre1.8.0_144\bin <--- this is commented out and ignored --C:\Program Files\Java\jre-9\bin <--- this is commented out and ignored The eclipse.ini folder was located in the eclipse folder found in c:\users, not program files. On my computer, eclipse.ini was found in this folder C:\Users\Administrator\eclipse\java-oxygen\eclipse
  2. Thank you, that worked. Here is what we did to get the mods working Windows 7 64x Date today is Nov 5, 2017 Minecraft Forge 1.12.2 1. Uninstall JRE and JDK 9 (I also like to Cclean.exe the registry and reboot but prob not needed) 2. Install Java 8 Update 151 (Runtime) 3. Install Java SE Development Kit 8 Update 151 4a. Add C:\Program Files\Java\jre1.8.0_15\bin to PATH enviornment variable 4b. Add C:\Program Files\Java\jdk1.8.0_151\bin to PATH enviornment variable 4c. Add C:\Program FIles\Java\jre1.8.0_151 to JAVA_HOME enviornment variable (create it if not present) 5. WIndows > Run > CMD.exe and navigate to your minecraft mod folder 6. Run "gradlew cleanCache" 7. Run "gradlew setupDecompWorkspace && gradlew eclipse " (If you're planning to use Eclipse, you should, Eclipse IDE rocks and its open source) At the end, it should say "BUILD SUCCESSFUL" at the end. I'm not sure if step 4 or 7 is needed. But this worked for me. Thank you everyone! I am continuing to build my first mod with my son. He is ahead of me and has run into a few problems. I'm trying to catch up to see if we can resolve together. Social media rocks, hope this helps out someone else.
  3. Yea my son and I tried this last night too, we have an older version of JDK but no dice. I wonder if JDK9 left something behind in the registry when we uninstalled it? I will have to try it on another computer at work, maybe something that has never had JDK9 install. I will get back to you guys. So who recently WAS ABLE to install Forge and make a minecraft mod? We want to make the easiest mod to start ... a "hello world" mod or something haha... can't even do that. Thanks for the responses ...
  4. Hello everyone, I tried to post this on the minecraft forums but did not get any responses. I don't think there are many coders there Specs Both computers Win 7 x64 JDK 9 JRE 9 (also tried 1.8.0.144) Eclipse Oxygen (it opens just fine) Forge 1.12.1-14.22.1.2485 Added path to enviornment vars Minecraft 1.12.2 My son and I are long time Minecrafters, we are no slouch with tech stuff having done some Unity development together as well as Robox. We are trying to create a MOD and running into the following error: Execution failed for task ':fixMcSources'. > com.cloudbees.diff.PatchException: Cannot find hunk target edit: The forge command we are using is: gradlew setupDecompWorkspace eclipse We have scoured the internet for other forum posts about this error and tried various solutions, no progress. I did however find this thread post right here: It says that Forge doesn't support JDK 9.0, is this true? Thanks for any help you can throw our way! Here is the log: This mapping 'snapshot_20170624' was designed for MC 1.12! Use at your own peril.This mapping 'snapshot_20170624' was designed for MC 1.12! Use at your own peril. ################################################# ForgeGradle 2.3-SNAPSHOT-unknown https://github.com/MinecraftForge/ForgeGradle ################################################# Powered by MCP unknown http://modcoderpack.com by: Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn, bspkrs ################################################# :deobfCompileDummyTask :deobfProvidedDummyTask :getVersionJson :extractUserdev UP-TO-DATE :extractDependencyATs SKIPPED :extractMcpData SKIPPED :extractMcpMappings SKIPPED :genSrgs SKIPPED :downloadClient SKIPPED :downloadServer SKIPPED :splitServerJar SKIPPED :mergeJars SKIPPED :deobfMcSRG SKIPPED :decompileMc SKIPPED :fixMcSourcesPatching failed: minecraft\net\minecraft\client\util\SearchTree.java Hunk 1 failed! Cannot find hunk target ..... public void func_192749_b() { Map map = Maps.newHashMap(); for(Entry entry : this.field_192758_f.entrySet()) { AdvancementProgress advancementprogress = (AdvancementProgress)entry.getValue(); if (advancementprogress.func_192108_b()) { map.put(((Advancement)entry.getKey()).func_192067_g(), advancementprogress); } FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':fixMcSources'. > com.cloudbees.diff.PatchException: Cannot find hunk target * 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: 1 mins 8.596 secs
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.