Stuck at Caching Decompiled Code

Started by HansO on Thu, 10/11/2018 - 02:50

Topic category: Bugs and solutions

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Stuck at Caching Decompiled Code
Thu, 10/11/2018 - 02:50

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
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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?

Last seen on 07:55, 25. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
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
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 07:55, 25. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
No, you need Java 8 JDK, but…
Thu, 10/11/2018 - 19:10

No, you need Java 8 JDK, but you only have Java 8 JRE and Java 11 JDK.

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

User statistics:

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

Where do I download that?

Last seen on 07:55, 25. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
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
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 07:55, 25. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
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.