Stuck at Caching Decompiled Code

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

Topic category: Bugs and solutions

Last seen on 23:25, 14. Oct 2018
Joined Oct 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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 18:57, 17. Nov 2018
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
What are the contents of the…
Thu, 10/11/2018 - 13:38

What are the contents of the console tab?

Last seen on 23:25, 14. Oct 2018
Joined Oct 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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 18:57, 17. Nov 2018
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
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 23:25, 14. Oct 2018
Joined Oct 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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 18:57, 17. Nov 2018
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
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 23:25, 14. Oct 2018
Joined Oct 2018
User points:

Statistics:

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

Where do I download that?

Last seen on 23:25, 14. Oct 2018
Joined Oct 2018
User points:

Statistics:

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

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