Stuck at Caching Decompiled Code

Started by HansO on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 21:18, 2. Jul 2019
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Stuck at Caching Decompiled Code

I recently downloaded Mcreator and have so far managed to get it to the point in the setup where it says "Caching Decompiled Code" in the upper left hand corner. I do have a slow internet connection, but I left it for 6 hours and nothing happened. It just keeps saying "Setting up Mcreator," no errors or anything, and my JAVA_HOME path is set properly. I am on Ubuntu 18.04. I need help getting past this point and it would also be helpful if someone told me what "Caching Decompiled Code" does.

 

Last seen on 21:18, 2. Jul 2019
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
compWorkspace --refresh…
Thu, 10/11/2018 - 15:08

compWorkspace --refresh-dependencies Build info: MCreator 1.8.0, 64-bit, 15931 MB, Linux, JVM 1.8.0_181 ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java Please set the JAVA_HOME variable in your environment to match the location of your Java installation. Task completed with return code 1 in 10678 milliseconds

 

I only just saw this now that you have mentioned it. But isn't  /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java the correct directory?

No, the correct one should…
Thu, 10/11/2018 - 15:14

No, the correct one should point to JDK, not JRE. Install JDK and modify your JAVA_HOME to fix this error.

Last seen on 21:18, 2. Jul 2019
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When I type in  'sudo update…
Thu, 10/11/2018 - 16:06

When I type in  'sudo update-alternatives --config java' it gives me:

 

There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                            Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/java-11-openjdk-amd64/bin/java      1101      auto mode
  1            /usr/lib/jvm/java-11-openjdk-amd64/bin/java      1101      manual mode
* 2            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081      manual mode

Press <enter> to keep the current choice[*], or type selection number:

 

Are any of these the correct one?

Last seen on 21:18, 2. Jul 2019
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Where do I download that?
Thu, 10/11/2018 - 19:11

Where do I download that?

Google should have answer…
Thu, 10/11/2018 - 19:14

Google should have the answer for this. A quick search showed this page: https://www.digitalocean.com/community/tutorials/how-to-install-java-wi…

Or this page: https://tecadmin.net/install-oracle-java-8-ubuntu-via-ppa/

Last seen on 21:18, 2. Jul 2019
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The second tutorial seemed…
Fri, 10/12/2018 - 11:33

The second tutorial seemed to help me just fine, thanks.

Last seen on 19:32, 15. Jun 2020
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hey klemen, mine is on JDK,…
Sun, 04/14/2019 - 04:27

hey klemen, mine is on JDK, but it wont stop caching decompiled code, i have the same problem, but its on JDK and not JRE

 

Last seen on 09:33, 12. Jun 2019
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hey klemen,im using 1.8.3…
Wed, 06/12/2019 - 09:27

hey klemen,im using 1.8.3 and its on jdk in 32 bit system

i dont know why its stack on caching decompiled code and i have the same problem

plssss!!! help me

MCreator won't work on 32…
Wed, 06/12/2019 - 14:03

MCreator won't work on 32-bit systems in most cases as it can't reserve enough RAM, unfortunately.

Last seen on 18:37, 10. Oct 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When running an eclipse task…
Sat, 12/25/2021 - 07:03

When running an eclipse task, if it shows Running "decompile", use the task manager to try to end the java or javaw process that takes up the highest memory (dedicated working set). This has a 50% chance of success. If MCreator does not pop up after the end, the workspace fails to be established. Or MCreator did not end the process, but popped up an error starting with "org.gradle", then it succeeded. This error will not affect the workspace or the module file, but the most important thing is when exporting the module. Good to run the specific task javadoc.