Jump to content
  • Home
  • Files
  • Docs
  • Merch
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • RecompieMC failure
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 1
CJWilk

RecompieMC failure

By CJWilk, February 12, 2017 in ForgeGradle

  • Reply to this topic
  • Start new topic

Recommended Posts

CJWilk    0

CJWilk

CJWilk    0

  • Tree Puncher
  • CJWilk
  • Members
  • 0
  • 18 posts
Posted February 12, 2017

Okay, so I am using Minecraft Forge MDK 1.10.2-12.18.3.2221, and I went to setup my main mod folder to start working on a mod. I dragged all of the files into my main folder, then opened a command window in the folder, and typed gradlew setupDecompWorkspace. The setup would get to 73% recompileMC and from there the build would fail. It says that it is unable to find a javac compiler. Could someone help?

 

I have linked a picture of the command prompt window.

Screenshot (44).png

  • Quote

Share this post


Link to post
Share on other sites

Choonster    1624

Choonster

Choonster    1624

  • Reality Controller
  • Choonster
  • Forge Modder
  • 1624
  • 5050 posts
Posted February 12, 2017

The error message tells you exactly what's wrong: The JAVA_HOME environment variable currently points to the JRE, but it needs to point to the JDK instead.

  • Quote

Share this post


Link to post
Share on other sites

CJWilk    0

CJWilk

CJWilk    0

  • Tree Puncher
  • CJWilk
  • Members
  • 0
  • 18 posts
Posted February 12, 2017

EXTRA NOTE: I have setup the Path Variable correctly, and I have modded 1.7.10. I tried making a JAVA_HOME variable like oracle suggested, but that didn't work.

  • Quote

Share this post


Link to post
Share on other sites

CJWilk    0

CJWilk

CJWilk    0

  • Tree Puncher
  • CJWilk
  • Members
  • 0
  • 18 posts
Posted February 12, 2017
16 minutes ago, Choonster said:

The error message tells you exactly what's wrong: The JAVA_HOME environment variable currently points to the JRE, but it needs to point to the JDK instead.

I set that up by creating the Path variable, and creating a new variable called JAVA_HOME, and set those to only the JDK. It still won't work. Any idea why?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6684

diesieben07

diesieben07    6684

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6684
  • 45696 posts
Posted February 12, 2017

Did you reboot?

  • Quote

Share this post


Link to post
Share on other sites

CJWilk    0

CJWilk

CJWilk    0

  • Tree Puncher
  • CJWilk
  • Members
  • 0
  • 18 posts
Posted February 12, 2017 (edited)
58 minutes ago, diesieben07 said:

Did you reboot?

I rebooted my computer, and reran the gradlew setupDecompWorkspace and got this error. This is also after changing the JAVA_HOME variable to the jdk. Please help.

Screenshot (45).png

Edited February 12, 2017 by CJWilk
  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6684

diesieben07

diesieben07    6684

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6684
  • 45696 posts
Posted February 12, 2017

How much free RAM do you have? You need at least like 2.5GB.

  • Quote

Share this post


Link to post
Share on other sites

CJWilk    0

CJWilk

CJWilk    0

  • Tree Puncher
  • CJWilk
  • Members
  • 0
  • 18 posts
Posted February 13, 2017

The RAM shouldn't be a problem, according to Task Manager, nothing is using my Memory.

  • Quote

Share this post


Link to post
Share on other sites

Leomelonseeds    28

Leomelonseeds

Leomelonseeds    28

  • Diamond Finder
  • Leomelonseeds
  • Forge Modder
  • 28
  • 407 posts
Posted February 13, 2017 (edited)

Actually, that problem is caused becaused you have too much ram going into the command.

Try setting ram settings lower.

Edited February 13, 2017 by Leomelonseeds
  • Quote

Share this post


Link to post
Share on other sites

CJWilk    0

CJWilk

CJWilk    0

  • Tree Puncher
  • CJWilk
  • Members
  • 0
  • 18 posts
Posted February 13, 2017

How would I go about doing that?

(I'm kinda new to this)

  • Quote

Share this post


Link to post
Share on other sites

Leomelonseeds    28

Leomelonseeds

Leomelonseeds    28

  • Diamond Finder
  • Leomelonseeds
  • Forge Modder
  • 28
  • 407 posts
Posted February 13, 2017

Not sure, try putting -Xmx500M -Xms500M after your command.

  • Quote

Share this post


Link to post
Share on other sites

CJWilk    0

CJWilk

CJWilk    0

  • Tree Puncher
  • CJWilk
  • Members
  • 0
  • 18 posts
Posted February 13, 2017

That didn't seem to work. Got the same error as before.

  • Quote

Share this post


Link to post
Share on other sites

Leomelonseeds    28

Leomelonseeds

Leomelonseeds    28

  • Diamond Finder
  • Leomelonseeds
  • Forge Modder
  • 28
  • 407 posts
Posted February 13, 2017

put less or more for the numbers

  • Quote

Share this post


Link to post
Share on other sites

CJWilk    0

CJWilk

CJWilk    0

  • Tree Puncher
  • CJWilk
  • Members
  • 0
  • 18 posts
Posted February 13, 2017

That didn't seem to work. I found I don't have the newest version of JDK, I have JDK 8 101, and the newest is JDK 8 121. I trying to see if that will help.

  • Quote

Share this post


Link to post
Share on other sites

Leomelonseeds    28

Leomelonseeds

Leomelonseeds    28

  • Diamond Finder
  • Leomelonseeds
  • Forge Modder
  • 28
  • 407 posts
Posted February 13, 2017 (edited)

did you try putting like  -Xmx250M -Xms250M or  -Xmx1G -Xms1G   ?

Newer versions of jdk will not help you.

Edited February 13, 2017 by Leomelonseeds
  • Quote

Share this post


Link to post
Share on other sites

CJWilk    0

CJWilk

CJWilk    0

  • Tree Puncher
  • CJWilk
  • Members
  • 0
  • 18 posts
Posted February 13, 2017

The updating of the JDK didn't work, I really have no idea now.

 

  • Quote

Share this post


Link to post
Share on other sites

Leomelonseeds    28

Leomelonseeds

Leomelonseeds    28

  • Diamond Finder
  • Leomelonseeds
  • Forge Modder
  • 28
  • 407 posts
Posted February 13, 2017

Actually, try even smaller numbers, like 30M.

  • Quote

Share this post


Link to post
Share on other sites

Leomelonseeds    28

Leomelonseeds

Leomelonseeds    28

  • Diamond Finder
  • Leomelonseeds
  • Forge Modder
  • 28
  • 407 posts
Posted February 13, 2017

Exactly how much ram u have?

  • Quote

Share this post


Link to post
Share on other sites

CJWilk    0

CJWilk

CJWilk    0

  • Tree Puncher
  • CJWilk
  • Members
  • 0
  • 18 posts
Posted February 13, 2017

Tried 250M, 30M, and 1G. Still got the error

 

  • Quote

Share this post


Link to post
Share on other sites

Leomelonseeds    28

Leomelonseeds

Leomelonseeds    28

  • Diamond Finder
  • Leomelonseeds
  • Forge Modder
  • 28
  • 407 posts
Posted February 13, 2017

try even less.

3 minutes ago, Leomelonseeds said:

Exactly how much ram u have?

 

  • Quote

Share this post


Link to post
Share on other sites

CJWilk    0

CJWilk

CJWilk    0

  • Tree Puncher
  • CJWilk
  • Members
  • 0
  • 18 posts
Posted February 13, 2017

I have 4 GB in the computer,

  • Quote

Share this post


Link to post
Share on other sites

Leomelonseeds    28

Leomelonseeds

Leomelonseeds    28

  • Diamond Finder
  • Leomelonseeds
  • Forge Modder
  • 28
  • 407 posts
Posted February 14, 2017

ohhhhhhh, try setting it to 2G, see if that works. BTW are all the values generating the EXACT same error?

  • Quote

Share this post


Link to post
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • DragonITA
      [1.14.4] How to get Minecraft Horse model/texture to make a custom unicorn?

      By DragonITA · Posted 8 minutes ago

      Sorry, ok thx i want test it
    • solitone
      Distinguish singleplayer vs. multiplayer

      By solitone · Posted 1 hour ago

      OK, thanks, that was helpful.  As for @SidedProxyvs. DistExecutor, if I understand it right the former was used till version 1.12, while the latter with version 1.13+, right?
    • DaemonUmbra
      1.12.2 Forge isnt working, are these the logs you need?

      By DaemonUmbra · Posted 1 hour ago

      Please read the Logs section of my signature below and provide the appropriate log in the appropriate manner.
    • saxon564
      [1.12.2] plugin with id 'net.minecraftforge.gradle.forge' not found

      By saxon564 · Posted 1 hour ago

      Could you show a screenshot of the contents of the folder 'ye'?
    • NoMercyPro
      Forge 1.12.2 Launcher Crash

      By NoMercyPro · Posted 2 hours ago

      sorry for not putting the log in a spoiler, do not know how and did not know I need to.
  • Topics

    • DragonITA
      28
      [1.14.4] How to get Minecraft Horse model/texture to make a custom unicorn?

      By DragonITA
      Started Monday at 10:06 AM

    • solitone
      16
      Distinguish singleplayer vs. multiplayer

      By solitone
      Started December 5

    • bandofbros20
      1
      1.12.2 Forge isnt working, are these the logs you need?

      By bandofbros20
      Started 6 hours ago

    • vMystic
      1
      [1.12.2] plugin with id 'net.minecraftforge.gradle.forge' not found

      By vMystic
      Started 7 hours ago

    • NoMercyPro
      1
      Forge 1.12.2 Launcher Crash

      By NoMercyPro
      Started 2 hours ago

  • Who's Online (See full list)

    • The_SlayerMC
    • SerpentDagger
    • Daedalus4096
    • DragonITA
    • Krevik
    • blotz9
    • salvestrom
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • RecompieMC failure
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community