MCreator Gradle Error: No such version exists!

Started by carl4020 on

Topic category: Help with MCreator software

Last seen on 11:33, 7. Nov 2019
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator Gradle Error: No such version exists!
Fri, 02/15/2019 - 18:18 (edited)

Error: 

   
Executing gradle command: wrapper --gradle-version 4.4
Build info: MCreator 1.8.2, 64-bit, 8118 MB, Windows 10 - cmd, JVM 1.8.0_192, JAVA_HOME: C:\Pylo\MCreator182\.\jdk
(c) 2018 Microsoft Corporation. Alle rettigheder forbeholdes.
C:\Pylo\MCreator182\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" wrapper --gradle-version 4.4 
BUILD FAILED
Total time: 5.954 secs
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Pylo\MCreator182\forge\build.gradle' line: 24
* What went wrong:
A problem occurred evaluating root project 'forge'.
> No such version exists!
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator182\forge>
Task completed with return code 0 in 6312 milliseconds

Edited by carl4020 on Fri, 02/15/2019 - 18:18
Last seen on 11:33, 7. Nov 2019
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok thanks!
Sun, 02/24/2019 - 17:07

Ok thanks!

Last seen on 20:24, 17. May 2019
Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've tried everything, but…
Sun, 02/24/2019 - 18:46

I've tried everything, but it still gives me the error

JustAPotota54, if you are…
Sun, 02/24/2019 - 18:54

JustAPotota54, if you are getting the same error as the matter of this topic, you might need to reinstall it a few times to get this working back.

Last seen on 20:24, 17. May 2019
Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
After running it from…
Sun, 02/24/2019 - 18:58

After running it from console, it now says that I have Java version 11 installed, but I have Java 8 Update 201

Last seen on 20:24, 17. May 2019
Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
After clicking "Proceed…
Sun, 02/24/2019 - 19:01

After clicking "Proceed Anyways" I get this error in console:

[Sun Feb 24 12:58:55 CST 2019] Exception in thread "main" [Sun Feb 24 12:58:55 CST 2019] java.lang.IllegalArgumentException: object is not an instance of declaring class
[Sun Feb 24 12:58:55 CST 2019] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Sun Feb 24 12:58:55 CST 2019] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[Sun Feb 24 12:58:55 CST 2019] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[Sun Feb 24 12:58:55 CST 2019] 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[Sun Feb 24 12:58:55 CST 2019] 	at co.pylo.mcreator.e.g.a(SourceFile:16)
[Sun Feb 24 12:58:55 CST 2019] 	at co.pylo.mcreator.e.g.a(SourceFile:24)
[Sun Feb 24 12:58:55 CST 2019] 	at co.pylo.mcreator.Launcher.main(SourceFile:48)

and then it closes

Make sure you have Java 8 as…
Sun, 02/24/2019 - 19:02

Make sure you have Java 8 as default Java. Don't click proceed anyway as it will not work for sure.

Last seen on 20:24, 17. May 2019
Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hmm, in the Java Control…
Sun, 02/24/2019 - 19:04

Hmm, in the Java Control Panel, it says that I have Java 8 installed, but java -version says it's 11. I guess I'll try installing 8, but I don't know if it'll work.

You might need to uninstall…
Mon, 02/25/2019 - 08:14

You might need to uninstall Java 11 to make Java 8 default. MCreator 1.8.3 will come with bundled Java for Mac and Linux too so there won't be such issues anymore (with Java versions).