Running .jar

Started by Slashscreen on Tue, 09/11/2018 - 01:22

Topic category: Help with MCreator software

Last seen on 00:23, 21. Sep 2018
Joined Sep 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Running .jar
Tue, 09/11/2018 - 01:22

I have installed the Mac Version, and would like to run  the .jar,  but right now all it does is give me
 

[Mon Sep 10 18:15:53 PDT 2018] Exception in thread "main" [Mon Sep 10 18:15:53 PDT 2018] java.lang.NoClassDefFoundError: com/google/gson/GsonBuilder
[Mon Sep 10 18:15:53 PDT 2018] 	at co.pylo.mcreator.preferences.g.<clinit>(Unknown Source)
[Mon Sep 10 18:15:53 PDT 2018] 	at co.pylo.mcreator.Launcher.main(Unknown Source)
[Mon Sep 10 18:15:53 PDT 2018] Caused by: java.lang.ClassNotFoundException: com.google.gson.GsonBuilder
[Mon Sep 10 18:15:53 PDT 2018] 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
[Mon Sep 10 18:15:53 PDT 2018] 	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
[Mon Sep 10 18:15:53 PDT 2018] 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
[Mon Sep 10 18:15:53 PDT 2018] 	... 2 more

When I try to run it. I am using Java 10.0.2 with a mac with version 10.13.6.

Last seen on 00:23, 21. Sep 2018
Joined Sep 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I've downloaded and now it…
Tue, 09/11/2018 - 22:31

I've downloaded and now it can't setup, citing 

   Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.0, 64-bit, 16384 MB, Mac OS X, JVM 1.8.0_181
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '10.0.2'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Task completed with return code 1 in 1000 milliseconds

I'm unsure how to get 10.0.2 uninstalled, I deleted the .plugin file!

Last seen on 00:23, 21. Sep 2018
Joined Sep 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Oh, I fixed it!! I removed…
Wed, 09/12/2018 - 03:18

Oh, I fixed it!! I removed the wrong thing. silly me.