Jump to content

Recommended Posts

Posted (edited)

(If this problem has been solved on another thread, link me to it! I just couldn't find anything like this problem)

 

So, after upgrading to a new PC I have been experiencing this problem,

 

"Execution failed for task ':decompileMc'.
> Process 'command 'C:\Program Files\Java\jdk1.8.0_161\bin\java.exe'' finished with non-zero exit value 1"

 

Here's the stacktrace: https://gist.github.com/anonymous/4d7699d93562850bdebd8cb7dec47842

Additionally I get this: https://gist.github.com/anonymous/87a0e4085e13d2be7ab63a72767bdcc2

 

Thanks for any help in advance! 

Edited by Ruthless_bug13
Thread has been solved
Posted

By any chance, did you install the 32bit version of Java? If so, get the 64bit, as that one supports the allocation of more RAM. That process mostly fails if you don't have enough RAM allocated. (32bit supports max of about +-1G of RAM only)

Posted

Check the bottom of this section in the documentation:
http://mcforge.readthedocs.io/en/latest/gettingstarted/#from-zero-to-modding

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted (edited)

Give it 3 or 4? It's higher than what the docs call for but it might work.
Note that throwing ram at things is not always the answer

Edited by DaemonUmbra

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

  • 2 weeks later...
Posted

Sorry this is late.

 

It isn't what I did that fixed it, it was what I made actually.

This problem started happening on my other computers (Friends too)

Then I wrote this, and it solved it.

 

I made a batch file that ran the following lines:


 

TASKKILL /f /im javaw.exe

SETX _JAVA_OPTIONS "" /m

SETX _JAVA_OPTIONS ""

PAUSE
EXIT

 

This has worked for me many times (Note that this is for Windows only).

  • 1 year later...

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

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